Struct netsim_embed::ipv6::Ipv6[][src]

pub struct Ipv6 {
    pub version: u8,
    pub traffic_class: u8,
    pub flow_label: u32,
    pub payload_length: u16,
    pub next_header: IpNextHeaderProtocol,
    pub hop_limit: u8,
    pub source: Ipv6Addr,
    pub destination: Ipv6Addr,
    pub payload: Vec<u8, Global>,
}
Expand description

Represents an IPv6 Packet.

Fields

version: u8traffic_class: u8flow_label: u32payload_length: u16next_header: IpNextHeaderProtocolhop_limit: u8source: Ipv6Addrdestination: Ipv6Addrpayload: Vec<u8, Global>

Trait Implementations

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

Performs the conversion.

Performs the conversion.

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.