Struct smoltcp::wire::RawHardwareAddress
source · [−]pub struct RawHardwareAddress { /* private fields */ }Expand description
Unparsed hardware address.
Used to make NDISC parsing agnostic of the hardware medium in use.
Implementations
Trait Implementations
sourceimpl Clone for RawHardwareAddress
impl Clone for RawHardwareAddress
sourcefn clone(&self) -> RawHardwareAddress
fn clone(&self) -> RawHardwareAddress
Returns a copy of the value. Read more
1.0.0fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for RawHardwareAddress
impl Debug for RawHardwareAddress
sourceimpl Display for RawHardwareAddress
impl Display for RawHardwareAddress
sourceimpl From<Address> for RawHardwareAddress
impl From<Address> for RawHardwareAddress
sourcefn from(addr: EthernetAddress) -> Self
fn from(addr: EthernetAddress) -> Self
Converts to this type from the input type.
sourceimpl From<HardwareAddress> for RawHardwareAddress
impl From<HardwareAddress> for RawHardwareAddress
sourcefn from(addr: HardwareAddress) -> Self
fn from(addr: HardwareAddress) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<RawHardwareAddress> for RawHardwareAddress
impl PartialEq<RawHardwareAddress> for RawHardwareAddress
sourcefn eq(&self, other: &RawHardwareAddress) -> bool
fn eq(&self, other: &RawHardwareAddress) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &RawHardwareAddress) -> bool
fn ne(&self, other: &RawHardwareAddress) -> bool
This method tests for !=.
impl Copy for RawHardwareAddress
impl Eq for RawHardwareAddress
impl StructuralEq for RawHardwareAddress
impl StructuralPartialEq for RawHardwareAddress
Auto Trait Implementations
impl RefUnwindSafe for RawHardwareAddress
impl Send for RawHardwareAddress
impl Sync for RawHardwareAddress
impl Unpin for RawHardwareAddress
impl UnwindSafe for RawHardwareAddress
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more