Skip to main content

PollWaker

Trait PollWaker 

Source
pub trait PollWaker: Send + Sync {
    // Required method
    fn wake_up(&self);
}
Expand description

PollWaiter trait for maps that support polling.

Required Methods§

Source

fn wake_up(&self)

Wake up any waiters on the map.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§