[][src]Trait tokio_executor::park::Unpark

pub trait Unpark: Sync + Send + 'static {
    fn unpark(&self);
}

Unblock a thread blocked by the associated Park instance.

See module documentation for more details.

Required methods

fn unpark(&self)

Unblock a thread that is blocked by the associated Park handle.

Calling unpark atomically makes available the unpark token, if it is not already available.

See module documentation for more details.

Panics

This function should not panic, but ultimately, panics are left as an implementation detail. Refer to the documentation for the specific Unpark implementation

Loading content...

Implementations on Foreign Types

impl Unpark for Box<dyn Unpark>[src]

impl Unpark for Arc<dyn Unpark>[src]

Loading content...

Implementors

impl Unpark for UnparkThread[src]

Loading content...