#[repr(u8)]pub enum Ipv4OptionClass {
Control = 0,
Reserved1 = 1,
DebuggingMeasurement = 2,
Reserved3 = 3,
}Expand description
IP option class (bits 6-7 of option type).
Variants§
Control = 0
Control options
Reserved1 = 1
Reserved (1)
DebuggingMeasurement = 2
Debugging and measurement
Reserved3 = 3
Reserved (3)
Implementations§
Trait Implementations§
Source§impl Clone for Ipv4OptionClass
impl Clone for Ipv4OptionClass
Source§fn clone(&self) -> Ipv4OptionClass
fn clone(&self) -> Ipv4OptionClass
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Ipv4OptionClass
impl Debug for Ipv4OptionClass
Source§impl PartialEq for Ipv4OptionClass
impl PartialEq for Ipv4OptionClass
impl Copy for Ipv4OptionClass
impl Eq for Ipv4OptionClass
impl StructuralPartialEq for Ipv4OptionClass
Auto Trait Implementations§
impl Freeze for Ipv4OptionClass
impl RefUnwindSafe for Ipv4OptionClass
impl Send for Ipv4OptionClass
impl Sync for Ipv4OptionClass
impl Unpin for Ipv4OptionClass
impl UnsafeUnpin for Ipv4OptionClass
impl UnwindSafe for Ipv4OptionClass
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