pub struct InterfaceId(pub u64);Expand description
Opaque identifier for a network interface.
Tuple Fields§
§0: u64Trait Implementations§
Source§impl Clone for InterfaceId
impl Clone for InterfaceId
Source§fn clone(&self) -> InterfaceId
fn clone(&self) -> InterfaceId
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 InterfaceId
impl Debug for InterfaceId
Source§impl Hash for InterfaceId
impl Hash for InterfaceId
Source§impl Ord for InterfaceId
impl Ord for InterfaceId
Source§fn cmp(&self, other: &InterfaceId) -> Ordering
fn cmp(&self, other: &InterfaceId) -> Ordering
1.21.0 · 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 InterfaceId
impl PartialEq for InterfaceId
Source§impl PartialOrd for InterfaceId
impl PartialOrd for InterfaceId
impl Copy for InterfaceId
impl Eq for InterfaceId
impl StructuralPartialEq for InterfaceId
Auto Trait Implementations§
impl Freeze for InterfaceId
impl RefUnwindSafe for InterfaceId
impl Send for InterfaceId
impl Sync for InterfaceId
impl Unpin for InterfaceId
impl UnwindSafe for InterfaceId
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