#[repr(u8)]pub enum Len {
DISABLED = 0,
ONE = 1,
TWO = 2,
THREE = 3,
}
Variants§
DISABLED = 0
CRC calculation disabled.
ONE = 1
One byte long CRC.
TWO = 2
Two bytes long CRC.
THREE = 3
Three bytes long CRC.
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
)