Module concurrency_traits::queue[][src]

Expand description

Generic implementations for queues.

Structs

AsyncCustomDoubleEndedQueue

A custom async double ended queue for turing a double ended queue asynchronous. Creates a task for running the queue functions.

AsyncCustomPrependQueue

A custom async prepend queue for turing a prepend queue asynchronous. Creates a task for running the queue functions.

AsyncCustomQueue

A custom async queue for turing a queue asynchronous. Creates a task for running the queue functions.

AsyncCustomReverseQueue

A custom async reverse queue for turing a reverse queue asynchronous. Creates a task for running the queue functions.

ParkQueue

A queue based on VecDeques and parking.

PopBackOperation

A pop back operation. Synonymous with ReverseQueue::pop_back.

PopOperation

A pop operation. Synonymous with Queue::pop.

PushFrontOperation

A push front operation. Synonymous with PrependQueue::push_front.

PushOperation

A push operation. Synonymous with Queue::push.

Enums

AsyncQueueMessage

An internal message for the async custom queues

ReadOperation

An operation that adds to the queue

WriteOperation

An operation that adds to the queue

Traits

AsyncDoubleEndedQueue

An async queue that can be written and read from both ends

AsyncPeekQueue

An async queue that can be peeked into

AsyncPeekReverseQueue

A queue that can be peeked from behind asynchronously

AsyncPrependQueue

An async queue that can be prepended (items placed in front)

AsyncQueue

A Queue that can be accessed asynchronously

AsyncReverseQueue

An asynchronous queue that can be read in reverse

AsyncTimeoutQueue

An Async Queue that can timeout on push and pop operations

DoubleEndedQueue

A queue that can be written and read from both ends

PeekQueue

A queue that can be peeked into

PeekReverseQueue

A queue that can be peeked from behind

PrependQueue

A queue that can be prepended (items placed in front)

Queue

A generic queue that can push and pop in FIFO order

ReverseQueue

A queue that can be read in reverse.

TimeoutQueue

A Queue that can timeout on push and pop operations

TryDoubleEndedQueue

A queue that can try to be written and read from both ends

TryPeekQueue

A queue that can try to be peeked into

TryPeekReverseQueue

A queue that can try to be peeked from behind

TryPrependQueue

A queue that can be attempt to be prepended to

TryQueue

A generic queue that supports try operations

TryReverseQueue

A queue that can try to be read in reverse.

Type Definitions

ParkQueueStd

A ParkQueue that uses std functions.