Skip to main content

WatcherProxyInterface

Trait WatcherProxyInterface 

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

    // Required method
    fn on_level_changed(&self, level: Level) -> Self::OnLevelChangedResponseFut;
}

Required Associated Types§

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§