pub enum HardwareAddressType {
Ethernet,
Other(u16),
}Variants§
Trait Implementations§
Source§impl Clone for HardwareAddressType
impl Clone for HardwareAddressType
Source§fn clone(&self) -> HardwareAddressType
fn clone(&self) -> HardwareAddressType
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 HardwareAddressType
impl Debug for HardwareAddressType
Source§impl From<u16> for HardwareAddressType
impl From<u16> for HardwareAddressType
Source§impl PartialEq for HardwareAddressType
impl PartialEq for HardwareAddressType
impl Copy for HardwareAddressType
impl Eq for HardwareAddressType
impl StructuralPartialEq for HardwareAddressType
Auto Trait Implementations§
impl Freeze for HardwareAddressType
impl RefUnwindSafe for HardwareAddressType
impl Send for HardwareAddressType
impl Sync for HardwareAddressType
impl Unpin for HardwareAddressType
impl UnwindSafe for HardwareAddressType
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