Struct lib_sendpacket::Ether [] [src]

pub struct Ether {
    pub src_mac: Mac,
    pub dst_mac: Mac,
}

Fields

Methods

impl Ether
[src]

[src]

Constructs a new Ether.

Trait Implementations

impl Clone for Ether
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Ether
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Ether
[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 Eq for Ether
[src]

impl PackageHeader for Ether
[src]

[src]

impl Div<MPLS> for Ether
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl Div<Ip> for Ether
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl Div<Payload> for Ether
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

Auto Trait Implementations

impl Send for Ether

impl Sync for Ether