fidl_fuchsia_power_broker

Trait LeaseControlProxyInterface

Source
pub trait LeaseControlProxyInterface: Send + Sync {
    type WatchStatusResponseFut: Future<Output = Result<LeaseStatus, Error>> + Send;

    // Required method
    fn watch_status(
        &self,
        last_status: LeaseStatus,
    ) -> Self::WatchStatusResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn watch_status(&self, last_status: LeaseStatus) -> Self::WatchStatusResponseFut

Implementors§