pub enum EthernetTypeId {
PayloadLength(u16),
Vlan(VlanTypeId),
L3(Layer3Id),
}
Variants§
Trait Implementations§
Source§impl Clone for EthernetTypeId
impl Clone for EthernetTypeId
Source§fn clone(&self) -> EthernetTypeId
fn clone(&self) -> EthernetTypeId
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 EthernetTypeId
impl Debug for EthernetTypeId
Source§impl PartialEq for EthernetTypeId
impl PartialEq for EthernetTypeId
impl Copy for EthernetTypeId
impl StructuralPartialEq for EthernetTypeId
Auto Trait Implementations§
impl Freeze for EthernetTypeId
impl RefUnwindSafe for EthernetTypeId
impl Send for EthernetTypeId
impl Sync for EthernetTypeId
impl Unpin for EthernetTypeId
impl UnwindSafe for EthernetTypeId
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