Struct nix::sys::socket::LinkAddr [] [src]

pub struct LinkAddr(pub sockaddr_ll);

Hardware Address

Methods

impl LinkAddr
[src]

[src]

Always AF_PACKET

[src]

Physical-layer protocol

[src]

Interface number

[src]

ARP hardware type

[src]

Packet type

[src]

Length of MAC address

[src]

Physical-layer address (MAC)

Trait Implementations

impl Clone for LinkAddr
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for LinkAddr
[src]

impl Eq for LinkAddr
[src]

impl PartialEq for LinkAddr
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Hash for LinkAddr
[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 Display for LinkAddr
[src]

[src]

Formats the value using the given formatter. Read more

impl Debug for LinkAddr
[src]

[src]

Formats the value using the given formatter. Read more