Skip to main content

Waker

Trait Waker 

Source
pub trait Waker:
    Send
    + Sync
    + 'static {
    // Required method
    fn wake(&self);
}
Expand description

Asks the UI thread to run its wake handler; see Backend::waker.

Required Methods§

Source

fn wake(&self)

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§