fidl_fuchsia_power_button

Trait MonitorProxyInterface

Source
pub trait MonitorProxyInterface: Send + Sync {
    type GetActionResponseFut: Future<Output = Result<Action, Error>> + Send;
    type SetActionResponseFut: Future<Output = Result<(), Error>> + Send;

    // Required methods
    fn get_action(&self) -> Self::GetActionResponseFut;
    fn set_action(&self, action: Action) -> Self::SetActionResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§