pub enum CrcStatus {
Ok,
Failed,
Absent,
}Expand description
What the CRC of a received packet said.
Variants§
Ok
The CRC checked, which is 1.
Failed
The CRC failed, which is -1.
Absent
The packet carried no CRC, which is 0.
Implementations§
Trait Implementations§
impl Copy for CrcStatus
impl Eq for CrcStatus
impl StructuralPartialEq for CrcStatus
Auto Trait Implementations§
impl Freeze for CrcStatus
impl RefUnwindSafe for CrcStatus
impl Send for CrcStatus
impl Sync for CrcStatus
impl Unpin for CrcStatus
impl UnsafeUnpin for CrcStatus
impl UnwindSafe for CrcStatus
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