fidl_test_sagcontrol

Trait StateProxyInterface

Source
pub trait StateProxyInterface: Send + Sync {
    type SetResponseFut: Future<Output = Result<StateSetResult, Error>> + Send;
    type GetResponseFut: Future<Output = Result<SystemActivityGovernorState, Error>> + Send;
    type WatchResponseFut: Future<Output = Result<SystemActivityGovernorState, Error>> + Send;

    // Required methods
    fn set(&self, payload: &SystemActivityGovernorState) -> Self::SetResponseFut;
    fn get(&self) -> Self::GetResponseFut;
    fn watch(&self) -> Self::WatchResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn set(&self, payload: &SystemActivityGovernorState) -> Self::SetResponseFut

Source

fn get(&self) -> Self::GetResponseFut

Source

fn watch(&self) -> Self::WatchResponseFut

Implementors§