Struct pnet_packet::dhcp::DhcpOperation
source · pub struct DhcpOperation(pub u8);
Expand description
Represents an Dhcp operation.
Tuple Fields§
§0: u8
Implementations§
Trait Implementations§
source§impl Clone for DhcpOperation
impl Clone for DhcpOperation
source§fn clone(&self) -> DhcpOperation
fn clone(&self) -> DhcpOperation
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 DhcpOperation
impl Debug for DhcpOperation
source§impl Hash for DhcpOperation
impl Hash for DhcpOperation
source§impl Ord for DhcpOperation
impl Ord for DhcpOperation
source§fn cmp(&self, other: &DhcpOperation) -> Ordering
fn cmp(&self, other: &DhcpOperation) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for DhcpOperation
impl PartialEq for DhcpOperation
source§fn eq(&self, other: &DhcpOperation) -> bool
fn eq(&self, other: &DhcpOperation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DhcpOperation
impl PartialOrd for DhcpOperation
source§fn partial_cmp(&self, other: &DhcpOperation) -> Option<Ordering>
fn partial_cmp(&self, other: &DhcpOperation) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl PrimitiveValues for DhcpOperation
impl PrimitiveValues for DhcpOperation
impl Copy for DhcpOperation
impl Eq for DhcpOperation
impl StructuralPartialEq for DhcpOperation
Auto Trait Implementations§
impl Freeze for DhcpOperation
impl RefUnwindSafe for DhcpOperation
impl Send for DhcpOperation
impl Sync for DhcpOperation
impl Unpin for DhcpOperation
impl UnwindSafe for DhcpOperation
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