pub enum SendError<T> {
Full(T),
Closed(T),
EndpointInUse(T),
}Expand description
Why SharedQueue::send did not enqueue; each variant returns the value.
Variants§
Full(T)
The ring holds capacity unreceived values.
Closed(T)
The queue was closed.
EndpointInUse(T)
Another handle, in this process or another, already sends on this queue.
Trait Implementations§
impl<T: Copy> Copy for SendError<T>
impl<T: Eq> Eq for SendError<T>
impl<T: PartialEq> StructuralPartialEq for SendError<T>
Auto Trait Implementations§
impl<T> Freeze for SendError<T>where
T: Freeze,
impl<T> RefUnwindSafe for SendError<T>where
T: RefUnwindSafe,
impl<T> Send for SendError<T>where
T: Send,
impl<T> Sync for SendError<T>where
T: Sync,
impl<T> Unpin for SendError<T>where
T: Unpin,
impl<T> UnsafeUnpin for SendError<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for SendError<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