Skip to main content

LocalNotifyLike

Trait LocalNotifyLike 

Source
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§

Source

fn notify_one(&self)

Source

fn notified(&self) -> impl Future<Output = ()> + '_

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§