ShutdownWatcherRegisterProxyInterface

Trait ShutdownWatcherRegisterProxyInterface 

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

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

Required Associated Types§

Required Methods§

Implementors§