#[repr(C)]
pub struct Header { pub traffic_class_h_version: u8, pub flow_label_h_traffic_class_l: u8, pub flow_label_l: u16, pub payload_length: u16, pub next_header: u8, pub hop_limit: u8, pub source_address: Ipv6Address, pub destination_address: Ipv6Address, }

Fields

traffic_class_h_version: u8flow_label_h_traffic_class_l: u8flow_label_l: u16payload_length: u16next_header: u8hop_limit: u8source_address: Ipv6Addressdestination_address: Ipv6Address

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.