pub type EnqueueError<T> = TryEnqueueError<T>;
Expand description

Aliased Type§

enum EnqueueError<T> {
    InsufficientCapacity(T),
    Closed(T),
}

Variants§

§

InsufficientCapacity(T)

The queue doesn’t have sufficient capacity to enqueue the give value.

§

Closed(T)

The queue is closed.