#[repr(u8)]pub enum Ipchk {
ZERO = 0,
ONE = 1,
}Variants§
ZERO = 0
Checksum is not inserted.
ONE = 1
If an IP frame is transmitted, the checksum is inserted automatically. The IP header checksum field must be cleared. If a non-IP frame is transmitted the frame is not modified.
Implementations§
Trait Implementations§
Source§impl Ord for Ipchk
impl Ord for Ipchk
Source§impl PartialOrd for Ipchk
impl PartialOrd for Ipchk
impl Copy for Ipchk
impl Eq for Ipchk
impl StructuralPartialEq for Ipchk
Auto Trait Implementations§
impl Freeze for Ipchk
impl RefUnwindSafe for Ipchk
impl Send for Ipchk
impl Sync for Ipchk
impl Unpin for Ipchk
impl UnwindSafe for Ipchk
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