fidl_fuchsia_test_syscalls

Trait ControlProxyInterface

Source
pub trait ControlProxyInterface: Send + Sync {
    type SetSuspendEnterResultResponseFut: Future<Output = Result<(), Error>> + Send;
    type GetStateResponseFut: Future<Output = Result<u32, Error>> + Send;

    // Required methods
    fn set_suspend_enter_result(
        &self,
        status: i32,
    ) -> Self::SetSuspendEnterResultResponseFut;
    fn get_state(&self) -> Self::GetStateResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§