[][src]Struct conqueue::Queue

pub struct Queue;

Methods

impl Queue[src]

pub fn unbounded<T>() -> (QueueSender<T>, QueueReceiver<T>)[src]

Create a new queue, returning a sender and receiver pair.

Senders may be cloned to allow multiple producers, but only a single receiver may exist.

Auto Trait Implementations

impl Send for Queue

impl Unpin for Queue

impl Sync for Queue

impl UnwindSafe for Queue

impl RefUnwindSafe for Queue

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]