Struct pcap_parser::pcapng::OptionCode
source · 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 ShbOs: OptionCode = _
pub const ShbUserAppl: OptionCode = _
pub const IfTsresol: 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 copy 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<OptionCode> for OptionCode
impl PartialEq<OptionCode> for OptionCode
source§fn eq(&self, other: &OptionCode) -> bool
fn eq(&self, other: &OptionCode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for OptionCode
impl Eq for OptionCode
impl StructuralEq for OptionCode
impl StructuralPartialEq for OptionCode
Auto Trait Implementations§
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