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

Unblock a thread blocked by the associated Park instance.

See module documentation for more details.

Required methods

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

Implementations on Foreign Types

Implementors