pub struct VlanHeader {
pub priority_code_point: ClassOfService,
pub drop_eligible_id: u1,
pub vlan_id: u12be,
pub ethertype: EtherType,
}Expand description
VLAN header structure
Fields§
§priority_code_point: ClassOfService§drop_eligible_id: u1§vlan_id: u12be§ethertype: EtherTypeTrait Implementations§
Source§impl Clone for VlanHeader
impl Clone for VlanHeader
Source§fn clone(&self) -> VlanHeader
fn clone(&self) -> VlanHeader
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VlanHeader
impl Debug for VlanHeader
Source§impl PartialEq for VlanHeader
impl PartialEq for VlanHeader
impl Eq for VlanHeader
impl StructuralPartialEq for VlanHeader
Auto Trait Implementations§
impl Freeze for VlanHeader
impl RefUnwindSafe for VlanHeader
impl Send for VlanHeader
impl Sync for VlanHeader
impl Unpin for VlanHeader
impl UnwindSafe for VlanHeader
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