Skip to main content

RebootMethodsWatcherRegisterProxyInterface

Trait RebootMethodsWatcherRegisterProxyInterface 

Source
pub trait RebootMethodsWatcherRegisterProxyInterface: Send + Sync {
    type RegisterWatcherResponseFut: Future<Output = Result<(), Error>> + Send;

    // Required method
    fn register_watcher(
        &self,
        watcher: ClientEnd<RebootWatcherMarker>,
    ) -> Self::RegisterWatcherResponseFut;
}

Required Associated Types§

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§