Method lrs::sync::Queue::push_wait

Blocks until it can add the element to the queue.

Syntax

impl<T, H> Queue<T, H>
    where H: Allocator,
{
    fn push_wait(&self, val: T) -> ()
}

Arguments

NameDescription
val

The element to be added.