pub enum LaneTxSlotError<S> {
Full(S),
Incompatible(S),
Failed(S),
}Expand description
Error returned when publishing an owned slot.
The slot is returned to the caller so it can be retried (Full) or dropped.
Variants§
Full(S)
The lane is full; the caller can retry.
Incompatible(S)
Slot is incompatible with the lane backing; caller may fall back to copying.
Failed(S)
Any other failure.
Trait Implementations§
Source§impl<S: Debug> Debug for LaneTxSlotError<S>
impl<S: Debug> Debug for LaneTxSlotError<S>
Source§impl<S: PartialEq> PartialEq for LaneTxSlotError<S>
impl<S: PartialEq> PartialEq for LaneTxSlotError<S>
impl<S: Eq> Eq for LaneTxSlotError<S>
impl<S> StructuralPartialEq for LaneTxSlotError<S>
Auto Trait Implementations§
impl<S> Freeze for LaneTxSlotError<S>where
S: Freeze,
impl<S> RefUnwindSafe for LaneTxSlotError<S>where
S: RefUnwindSafe,
impl<S> Send for LaneTxSlotError<S>where
S: Send,
impl<S> Sync for LaneTxSlotError<S>where
S: Sync,
impl<S> Unpin for LaneTxSlotError<S>where
S: Unpin,
impl<S> UnwindSafe for LaneTxSlotError<S>where
S: 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