#[repr(u8)]pub enum Len {
DISABLED = 0,
ONE = 1,
TWO = 2,
THREE = 3,
}
Variants§
DISABLED = 0
CRC length is zero and CRC calculation is disabled
ONE = 1
CRC length is one byte and CRC calculation is enabled
TWO = 2
CRC length is two bytes and CRC calculation is enabled
THREE = 3
CRC length is three bytes and CRC calculation is enabled
Implementations§
Trait Implementations§
Source§impl Ord for Len
impl Ord for Len
Source§impl PartialOrd for Len
impl PartialOrd for Len
impl Copy for Len
impl Eq for Len
impl StructuralPartialEq for Len
Auto Trait Implementations§
impl Freeze for Len
impl RefUnwindSafe for Len
impl Send for Len
impl Sync for Len
impl Unpin for Len
impl UnwindSafe for Len
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)