Skip to main content

WakerExt

Trait WakerExt 

Source
pub trait WakerExt {
    // Required methods
    fn store_waker(&mut self, context: &Context<'_>);
    fn wake(&mut self);
}

Required Methods§

Source

fn store_waker(&mut self, context: &Context<'_>)

Source

fn wake(&mut self)

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl WakerExt for Option<Waker>

Source§

fn store_waker(&mut self, context: &Context<'_>)

Source§

fn wake(&mut self)

Implementors§