pub struct Vlan {
pub priority_code_point: ClassOfService,
pub drop_eligible_indicator: u8,
pub vlan_identifier: u16,
pub ethertype: EtherType,
pub payload: Vec<u8>,
}
Expand description
Represents a VLAN-tagged packet.
Fields§
§priority_code_point: ClassOfService
§drop_eligible_indicator: u8
§vlan_identifier: u16
§ethertype: EtherType
§payload: Vec<u8>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Vlan
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