Enum nolock::queues::EnqueueError
source · [−]pub enum EnqueueError {
Full,
Closed,
}
Expand description
The Error returned by the Enqueue Operation
Variants
Full
The Queue is full and therefore the current Element could not be enqueued on it
Closed
The Queue has been closed by the Receiving Side and therefore they can’t receive any more Elements / any Element that would be inserted at this point would never be consumed
Trait Implementations
sourceimpl Debug for EnqueueError
impl Debug for EnqueueError
sourceimpl PartialEq<EnqueueError> for EnqueueError
impl PartialEq<EnqueueError> for EnqueueError
impl StructuralPartialEq for EnqueueError
Auto Trait Implementations
impl RefUnwindSafe for EnqueueError
impl Send for EnqueueError
impl Sync for EnqueueError
impl Unpin for EnqueueError
impl UnwindSafe for EnqueueError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more