pub enum PushError<T> {
Full(T),
}Expand description
Error type for Producer::push().
Variants§
Full(T)
The queue was full.
Trait Implementations§
impl<T> Copy for PushError<T>where
T: Copy,
impl<T> Eq for PushError<T>where
T: Eq,
impl<T> StructuralPartialEq for PushError<T>
Auto Trait Implementations§
impl<T> Freeze for PushError<T>where
T: Freeze,
impl<T> RefUnwindSafe for PushError<T>where
T: RefUnwindSafe,
impl<T> Send for PushError<T>where
T: Send,
impl<T> Sync for PushError<T>where
T: Sync,
impl<T> Unpin for PushError<T>where
T: Unpin,
impl<T> UnwindSafe for PushError<T>where
T: UnwindSafe,
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)