pub enum CrcLength {
Disabled,
Bit8,
Bit16,
}
Expand description
The length of a CRC checksum that is used (if any).
Cyclical Redundancy Checking (CRC) is commonly used to ensure data integrity.
Variants§
Disabled
represents no CRC checksum is used
Bit8
represents CRC 8 bit checksum is used
Bit16
represents CRC 16 bit checksum is used
Trait Implementations§
impl Copy for CrcLength
impl StructuralPartialEq for CrcLength
Auto Trait Implementations§
impl Freeze for CrcLength
impl RefUnwindSafe for CrcLength
impl Send for CrcLength
impl Sync for CrcLength
impl Unpin for CrcLength
impl UnwindSafe for CrcLength
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