[][src]Struct bdrck::net::HardwareAddr

pub struct HardwareAddr { /* fields omitted */ }

This structure denotes a hardware MAC address.

Methods

impl HardwareAddr[src]

pub fn as_bytes(&self) -> &[u8][src]

Return the 6 bytes which make up the MAC address as a slice.

Trait Implementations

impl Eq for HardwareAddr[src]

impl Clone for HardwareAddr[src]

impl PartialOrd<HardwareAddr> for HardwareAddr[src]

impl PartialEq<HardwareAddr> for HardwareAddr[src]

impl Ord for HardwareAddr[src]

impl Copy for HardwareAddr[src]

impl Hash for HardwareAddr[src]

impl Debug for HardwareAddr[src]

impl Display for HardwareAddr[src]

impl FromStr for HardwareAddr[src]

type Err = Error

The associated error which can be returned from parsing.

impl Serialize for HardwareAddr[src]

impl<'de> Deserialize<'de> for HardwareAddr[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<'a, T> TryFrom<&'a str> for T where
    T: FromStr

type Err = <T as FromStr>::Err

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err