pub struct ArpOperation(pub u16);
Expand description
Operation field value in an ARP packet.
Tuple Fields§
§0: u16
Implementations§
Source§impl ArpOperation
impl ArpOperation
pub const REQUEST: ArpOperation
pub const REPLY: ArpOperation
Trait Implementations§
Source§impl Clone for ArpOperation
impl Clone for ArpOperation
Source§fn clone(&self) -> ArpOperation
fn clone(&self) -> ArpOperation
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 ArpOperation
impl Debug for ArpOperation
Source§impl From<u16> for ArpOperation
impl From<u16> for ArpOperation
Source§impl Hash for ArpOperation
impl Hash for ArpOperation
Source§impl Ord for ArpOperation
impl Ord for ArpOperation
Source§fn cmp(&self, other: &ArpOperation) -> Ordering
fn cmp(&self, other: &ArpOperation) -> 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 ArpOperation
impl PartialEq for ArpOperation
Source§impl PartialOrd for ArpOperation
impl PartialOrd for ArpOperation
impl Copy for ArpOperation
impl Eq for ArpOperation
impl StructuralPartialEq for ArpOperation
Auto Trait Implementations§
impl Freeze for ArpOperation
impl RefUnwindSafe for ArpOperation
impl Send for ArpOperation
impl Sync for ArpOperation
impl Unpin for ArpOperation
impl UnwindSafe for ArpOperation
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