Struct pnet_datalink::MacAddr [] [src]

pub struct MacAddr(pub u8, pub u8, pub u8, pub u8, pub u8, pub u8);

A MAC address

Methods

impl MacAddr
[src]

[src]

Construct a new MacAddr

Trait Implementations

impl Display for MacAddr
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for MacAddr
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for MacAddr
[src]

impl FromStr for MacAddr
[src]

The associated error which can be returned from parsing.

[src]

Parses a string s to return a value of this type. Read more

impl Hash for MacAddr
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq<MacAddr> for MacAddr
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Debug for MacAddr
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for MacAddr
[src]

Auto Trait Implementations

impl Send for MacAddr

impl Sync for MacAddr