Skip to main content

Wake

Trait Wake 

Source
pub trait Wake {
    // Required method
    fn wake(&self);
}
Expand description

Wake trait

Should be combined with crate::Sleep in order to be used with the crate::AllocExecutor.

Required Methods§

Source

fn wake(&self)

Wake up the sleepers.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§