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§
fn on_level_changed(&self, level: Level) -> Self::OnLevelChangedResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".