pub enum LockFreePushErr<T> {
Full(T),
ShouldWait(T),
}Expand description
Represents the possible errors that can occur when lock-free pushing a value into a queue.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for LockFreePushErr<T>where
T: Freeze,
impl<T> RefUnwindSafe for LockFreePushErr<T>where
T: RefUnwindSafe,
impl<T> Send for LockFreePushErr<T>where
T: Send,
impl<T> Sync for LockFreePushErr<T>where
T: Sync,
impl<T> Unpin for LockFreePushErr<T>where
T: Unpin,
impl<T> UnwindSafe for LockFreePushErr<T>where
T: UnwindSafe,
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