Enum twizzler_queue::QueueError
source · 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<QueueError> for QueueError
impl PartialEq<QueueError> for QueueError
source§fn eq(&self, other: &QueueError) -> bool
fn eq(&self, other: &QueueError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<QueueError> for QueueError
impl PartialOrd<QueueError> for QueueError
source§fn partial_cmp(&self, other: &QueueError) -> Option<Ordering>
fn partial_cmp(&self, other: &QueueError) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for QueueError
impl Eq for QueueError
impl StructuralEq for QueueError
impl StructuralPartialEq for QueueError
Auto Trait Implementations§
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.