pub trait LocalNotifyLike {
// Required methods
fn notify_one(&self);
fn notified(&self) -> impl Future<Output = ()> + '_;
}Expand description
Non-Send notify shape. Same single-core opt-in contract as
LocalMutexLike.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".