pub struct EthernetTagId(pub u32);Expand description
Ethernet Tag ID — 32-bit namespace identifier within an EVI (RFC 7432 §7.1).
Tuple Fields§
§0: u32Implementations§
Trait Implementations§
Source§impl Clone for EthernetTagId
impl Clone for EthernetTagId
Source§fn clone(&self) -> EthernetTagId
fn clone(&self) -> EthernetTagId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EthernetTagId
Source§impl Debug for EthernetTagId
impl Debug for EthernetTagId
Source§impl Display for EthernetTagId
impl Display for EthernetTagId
impl Eq for EthernetTagId
Source§impl Hash for EthernetTagId
impl Hash for EthernetTagId
Source§impl Ord for EthernetTagId
impl Ord for EthernetTagId
Source§fn cmp(&self, other: &EthernetTagId) -> Ordering
fn cmp(&self, other: &EthernetTagId) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for EthernetTagId
impl PartialEq for EthernetTagId
Source§fn eq(&self, other: &EthernetTagId) -> bool
fn eq(&self, other: &EthernetTagId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for EthernetTagId
impl PartialOrd for EthernetTagId
impl StructuralPartialEq for EthernetTagId
Auto Trait Implementations§
impl Freeze for EthernetTagId
impl RefUnwindSafe for EthernetTagId
impl Send for EthernetTagId
impl Sync for EthernetTagId
impl Unpin for EthernetTagId
impl UnsafeUnpin for EthernetTagId
impl UnwindSafe for EthernetTagId
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