Struct netsim_embed::ipv6::Routing

source ·
pub struct Routing {
    pub next_header: IpNextHeaderProtocol,
    pub hdr_ext_len: u8,
    pub routing_type: u8,
    pub segments_left: u8,
    pub data: Vec<u8, Global>,
}
Expand description

Represents an IPv6 Routing Extension.

Fields§

§next_header: IpNextHeaderProtocol§hdr_ext_len: u8§routing_type: u8§segments_left: u8§data: 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

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.