Struct xenet_packet::vlan::Vlan
source · pub struct Vlan {
pub priority_code_point: ClassOfService,
pub drop_eligible_indicator: u1,
pub vlan_identifier: u12be,
pub ethertype: EtherType,
pub payload: Vec<u8>,
}
Expand description
Represents a VLAN-tagged packet.
Fields§
§priority_code_point: ClassOfService
§drop_eligible_indicator: u1
§vlan_identifier: u12be
§ethertype: EtherType
§payload: Vec<u8>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Vlan
impl Send for Vlan
impl Sync for Vlan
impl Unpin for Vlan
impl UnwindSafe for Vlan
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more