Enum net::wire::ArpHardware
pub enum ArpHardware {
Ethernet,
Unknown(u16),
}
Expand description
ARP hardware type.
Variants§
Trait Implementations§
§impl Ord for Hardware
impl Ord for Hardware
§impl PartialOrd<Hardware> for Hardware
impl PartialOrd<Hardware> for Hardware
§fn partial_cmp(&self, other: &Hardware) -> Option<Ordering>
fn partial_cmp(&self, other: &Hardware) -> 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 moreimpl Copy for Hardware
impl Eq for Hardware
impl StructuralEq for Hardware
impl StructuralPartialEq for Hardware
Auto Trait Implementations§
impl RefUnwindSafe for Hardware
impl Send for Hardware
impl Sync for Hardware
impl Unpin for Hardware
impl UnwindSafe for Hardware
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