Struct futex_queue::Receiver[][src]

pub struct Receiver<T, const N: usize> { /* fields omitted */ }
Expand description

Receiver half of the queue.

Implementations

Tries to receive from the queue without blocking. Immediate items are returned first, then scheduled items in the order of earliest deadline first. Error contains an optional Instant of the earliest (not ready) deadline in the queue.

Tries to receive from the queue and blocks the current thread if queue is empty. Immediate items are returned first, then scheduled items in the order of earliest deadline first.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.