#[repr(u8)]pub enum Ipdis {
ZERO = 0,
ONE = 1,
}Variants§
ZERO = 0
Frames with wrong IPv4 header checksum are not discarded.
ONE = 1
If an IPv4 frame is received with a mismatching header checksum, the frame is discarded. IPv6 has no header checksum and is not affected by this setting. Discarding is only available when the RX FIFO operates in store and forward mode (RSFL cleared).
Implementations§
Trait Implementations§
Source§impl Ord for Ipdis
impl Ord for Ipdis
Source§impl PartialOrd for Ipdis
impl PartialOrd for Ipdis
impl Copy for Ipdis
impl Eq for Ipdis
impl StructuralPartialEq for Ipdis
Auto Trait Implementations§
impl Freeze for Ipdis
impl RefUnwindSafe for Ipdis
impl Send for Ipdis
impl Sync for Ipdis
impl Unpin for Ipdis
impl UnwindSafe for Ipdis
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