fidl_fuchsia_net_reachability

Trait MonitorProxyInterface

Source
pub trait MonitorProxyInterface: Send + Sync {
    type WatchResponseFut: Future<Output = Result<Snapshot, Error>> + Send;

    // Required methods
    fn set_options(&self, payload: &MonitorOptions) -> Result<(), Error>;
    fn watch(&self) -> Self::WatchResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn set_options(&self, payload: &MonitorOptions) -> Result<(), Error>

Source

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

Implementors§