Enum nolock::queues::DequeueError
source · [−]pub enum DequeueError {
Empty,
Closed,
}
Expand description
The Error returned by the Dequeue Operation
Variants
Empty
The Queue is empty and therefore no Element could be dequeued at this point in time
Closed
The Queue has been closed by the Sending Side and therefore no more Elements will be added to the Queue in the Future
Trait Implementations
sourceimpl Debug for DequeueError
impl Debug for DequeueError
sourceimpl PartialEq<DequeueError> for DequeueError
impl PartialEq<DequeueError> for DequeueError
sourcefn eq(&self, other: &DequeueError) -> bool
fn eq(&self, other: &DequeueError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for DequeueError
Auto Trait Implementations
impl RefUnwindSafe for DequeueError
impl Send for DequeueError
impl Sync for DequeueError
impl Unpin for DequeueError
impl UnwindSafe for DequeueError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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