[][src]Trait eiz::rt_queue::Push

pub trait Push<T: Send> {
    fn try_push(&mut self, value: T) -> Option<T>;
}

The try_push operation.

Required methods

fn try_push(&mut self, value: T) -> Option<T>

Tries to insert value into the container. If successful, returns None, otherwise returns Some(value).

Loading content...

Implementors

impl<T: Send> Push<T> for AtomicRingWriter<T>[src]

impl<T: Send> Push<T> for MpscQueueWriter<T>[src]

Loading content...