pub enum TryClaimError {
Full,
ZeroLength,
}Expand description
Error returned from queue try_claim operations.
Variants§
Trait Implementations§
Source§impl Clone for TryClaimError
impl Clone for TryClaimError
Source§fn clone(&self) -> TryClaimError
fn clone(&self) -> TryClaimError
Returns a duplicate 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 TryClaimError
impl Debug for TryClaimError
Source§impl Display for TryClaimError
impl Display for TryClaimError
Source§impl Error for TryClaimError
impl Error for TryClaimError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for TryClaimError
impl PartialEq for TryClaimError
impl Copy for TryClaimError
impl Eq for TryClaimError
impl StructuralPartialEq for TryClaimError
Auto Trait Implementations§
impl Freeze for TryClaimError
impl RefUnwindSafe for TryClaimError
impl Send for TryClaimError
impl Sync for TryClaimError
impl Unpin for TryClaimError
impl UnwindSafe for TryClaimError
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