pub struct OptionCode(pub u16);
Tuple Fields§
§0: u16
Implementations§
Source§impl OptionCode
impl OptionCode
pub const EndOfOpt: OptionCode
pub const Comment: OptionCode
pub const ShbHardware: OptionCode
pub const IfName: OptionCode
pub const IsbStartTime: OptionCode
pub const ShbOs: OptionCode
pub const IfDescription: OptionCode
pub const IsbEndTime: OptionCode
pub const ShbUserAppl: OptionCode
pub const IfIpv4Addr: OptionCode
pub const IsbIfRecv: OptionCode
pub const IsbIfDrop: OptionCode
pub const IfMacAddr: OptionCode
pub const IsbFilterAccept: OptionCode
pub const IfEuiAddr: OptionCode
pub const IsbOsDrop: OptionCode
pub const IfSpeed: OptionCode
pub const IsbUsrDeliv: OptionCode
pub const IfTsresol: OptionCode
pub const IfFilter: OptionCode
pub const IfOs: OptionCode
pub const IfTsoffset: OptionCode
pub const Custom2988: OptionCode
pub const Custom2989: OptionCode
pub const Custom19372: OptionCode
pub const Custom19373: OptionCode
Trait Implementations§
Source§impl Clone for OptionCode
impl Clone for OptionCode
Source§fn clone(&self) -> OptionCode
fn clone(&self) -> OptionCode
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 OptionCode
impl Debug for OptionCode
Source§impl Display for OptionCode
impl Display for OptionCode
Source§impl PartialEq for OptionCode
impl PartialEq for OptionCode
impl Copy for OptionCode
impl Eq for OptionCode
impl StructuralPartialEq for OptionCode
Auto Trait Implementations§
impl Freeze for OptionCode
impl RefUnwindSafe for OptionCode
impl Send for OptionCode
impl Sync for OptionCode
impl Unpin for OptionCode
impl UnwindSafe for OptionCode
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