Struct libc_extra::android_linux::netinet::if_ether::ethhdr [] [src]

pub struct ethhdr {
    pub h_dest: [uint8_t; 6],
    pub h_source: [uint8_t; 6],
    pub h_proto: uint16_t,
}

Fields

Trait Implementations

impl Debug for ethhdr
[src]

Formats the value using the given formatter.

impl Copy for ethhdr
[src]

impl Clone for ethhdr
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for ethhdr
[src]

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

This method tests for !=.

impl Eq for ethhdr
[src]

impl PartialOrd for ethhdr
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for ethhdr
[src]

This method returns an Ordering between self and other. Read more

impl Hash for ethhdr
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Default for ethhdr
[src]

Returns the "default value" for a type. Read more