Struct canal::mpmc::MutexLinkedList [] [src]

pub struct MutexLinkedList<T> { /* fields omitted */ }

A mutex-locked List that is safe for push/pop on multiple threads.

Methods

impl<T> MutexLinkedList<T>
[src]

Create a new MutexLinkedList.

impl<T: Send> MutexLinkedList<T>
[src]

Push a value onto queue.

Pop a value off the queue.

If the queue is empty, None is returned.

Trait Implementations

impl<T: Send> Clone for MutexLinkedList<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more