Enum rtic_sync::channel::TrySendError
source · pub enum TrySendError<T> {
NoReceiver(T),
Full(T),
}
Expand description
Errors that ’try_send` can have.
Variants§
NoReceiver(T)
Error state for when the receiver has been dropped.
Full(T)
Error state when the queue is full.
Trait Implementations§
source§impl<T> Debug for TrySendError<T>where
T: Debug,
impl<T> Debug for TrySendError<T>where
T: Debug,
source§impl<T> PartialEq for TrySendError<T>where
T: PartialEq,
impl<T> PartialEq for TrySendError<T>where
T: PartialEq,
Auto Trait Implementations§
impl<T> Freeze for TrySendError<T>where
T: Freeze,
impl<T> RefUnwindSafe for TrySendError<T>where
T: RefUnwindSafe,
impl<T> Send for TrySendError<T>where
T: Send,
impl<T> Sync for TrySendError<T>where
T: Sync,
impl<T> Unpin for TrySendError<T>where
T: Unpin,
impl<T> UnwindSafe for TrySendError<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