pub enum QueueError {
Unknown,
WouldBlock,
}
Expand description
Possible errors for submitting to a queue.
Variants§
Unknown
An unknown error.
WouldBlock
The operation would have blocked, and non-blocking operation was specified.
Trait Implementations§
source§impl Clone for QueueError
impl Clone for QueueError
source§fn clone(&self) -> QueueError
fn clone(&self) -> QueueError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for QueueError
impl Debug for QueueError
source§impl Ord for QueueError
impl Ord for QueueError
source§fn cmp(&self, other: &QueueError) -> Ordering
fn cmp(&self, other: &QueueError) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for QueueError
impl PartialEq for QueueError
source§impl PartialOrd for QueueError
impl PartialOrd for QueueError
impl Copy for QueueError
impl Eq for QueueError
impl StructuralPartialEq for QueueError
Auto Trait Implementations§
impl Freeze for QueueError
impl ObjSafe for QueueError
impl RefUnwindSafe for QueueError
impl Send for QueueError
impl Sync for QueueError
impl Unpin for QueueError
impl UnwindSafe for QueueError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.