#[non_exhaustive]pub enum LaneTxError {
Full,
TooLarge {
max: usize,
len: usize,
},
Failed,
}Expand description
TX error that keeps “full” distinct from other failures.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Full
The lane is full.
TooLarge
The payload length exceeds the maximum slot size.
Failed
Any other TX failure.
Trait Implementations§
Source§impl Clone for LaneTxError
impl Clone for LaneTxError
Source§fn clone(&self) -> LaneTxError
fn clone(&self) -> LaneTxError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LaneTxError
impl Debug for LaneTxError
Source§impl<E> From<LaneTxError> for LaneTxWithError<E>
impl<E> From<LaneTxError> for LaneTxWithError<E>
Source§fn from(value: LaneTxError) -> Self
fn from(value: LaneTxError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LaneTxError
impl PartialEq for LaneTxError
impl Copy for LaneTxError
impl Eq for LaneTxError
impl StructuralPartialEq for LaneTxError
Auto Trait Implementations§
impl Freeze for LaneTxError
impl RefUnwindSafe for LaneTxError
impl Send for LaneTxError
impl Sync for LaneTxError
impl Unpin for LaneTxError
impl UnwindSafe for LaneTxError
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