fidl_fuchsia_power_systemmode

Trait ClientConfiguratorProxyInterface

Source
pub trait ClientConfiguratorProxyInterface: Send + Sync {
    type GetResponseFut: Future<Output = Result<Option<Box<ClientConfig>>, Error>> + Send;
    type SetResponseFut: Future<Output = Result<(), Error>> + Send;

    // Required methods
    fn get(&self, client_type: ClientType) -> Self::GetResponseFut;
    fn set(
        &self,
        client_type: ClientType,
        config: &ClientConfig,
    ) -> Self::SetResponseFut;
}

Required Associated Types§

Source

type GetResponseFut: Future<Output = Result<Option<Box<ClientConfig>>, Error>> + Send

Source

type SetResponseFut: Future<Output = Result<(), Error>> + Send

Required Methods§

Source

fn get(&self, client_type: ClientType) -> Self::GetResponseFut

Source

fn set( &self, client_type: ClientType, config: &ClientConfig, ) -> Self::SetResponseFut

Implementors§