pub trait WatchReceiverExt<T> {
// Required method
async fn wait_for_change(
&mut self,
f: impl Fn(&T) -> bool,
) -> Result<(), RecvError>;
}
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.