Trait concurrency_traits::TryPrependQueue[][src]

pub trait TryPrependQueue: TryQueue {
    fn try_push_front(&self, value: Self::Item) -> Result<(), Self::Item>;
}

A queue that can be attempt to be prepended to

Required methods

fn try_push_front(&self, value: Self::Item) -> Result<(), Self::Item>[src]

Adds an item to the front of the queue without blocking

Loading content...

Implementors

impl<T: ?Sized> TryPrependQueue for T where
    T: Deref,
    T::Target: TryPrependQueue
[src]

Loading content...