[][src]Struct ether_dream::dac::MacAddress

pub struct MacAddress(pub [u8; 6]);

The fixed-size array used to represent the MAC address of a DAC.

This may be used to distinguish between multiple DACs broadcasting on a network.

This type implements std::fmt::Display which can be used to produce the commonly used "human-readable" hex-value string representation of the address (e.g. "2A:FE:54:67:8B:D4").

Trait Implementations

impl Clone for MacAddress[src]

impl Copy for MacAddress[src]

impl Debug for MacAddress[src]

impl Deref for MacAddress[src]

type Target = [u8; 6]

The resulting type after dereferencing.

impl Display for MacAddress[src]

impl Eq for MacAddress[src]

impl From<[u8; 6]> for MacAddress[src]

impl Hash for MacAddress[src]

impl Into<[u8; 6]> for MacAddress[src]

impl Ord for MacAddress[src]

impl PartialEq<MacAddress> for MacAddress[src]

impl PartialOrd<MacAddress> for MacAddress[src]

impl StructuralEq for MacAddress[src]

impl StructuralPartialEq for MacAddress[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.