Struct netsim_embed::vlan::Vlan[][src]

pub struct Vlan {
    pub priority_code_point: ClassOfService,
    pub drop_eligible_indicator: u8,
    pub vlan_identifier: u16,
    pub ethertype: EtherType,
    pub payload: Vec<u8, Global>,
}
Expand description

Represents a VLAN-tagged packet.

Fields

priority_code_point: ClassOfServicedrop_eligible_indicator: u8vlan_identifier: u16ethertype: EtherTypepayload: 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.