pub enum Correction<W: Width> {
CRC {
error_bit: W,
},
Data {
error_bit: W,
},
}Expand description
Type of correction applied to the data
Variants§
CRC
A single bit in CRC was corrupted
Fields
§
error_bit: WBit offset within the CRC
Data
A single bit was the data was corrupted
Fields
§
error_bit: WBit offset within the data
Trait Implementations§
impl<W: Eq + Width> Eq for Correction<W>
impl<W: Width> StructuralPartialEq for Correction<W>
Auto Trait Implementations§
impl<W> Freeze for Correction<W>where
W: Freeze,
impl<W> RefUnwindSafe for Correction<W>where
W: RefUnwindSafe,
impl<W> Send for Correction<W>where
W: Send,
impl<W> Sync for Correction<W>where
W: Sync,
impl<W> Unpin for Correction<W>where
W: Unpin,
impl<W> UnwindSafe for Correction<W>where
W: UnwindSafe,
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