Struct async_dnssd::InterfaceIndex
source · pub struct InterfaceIndex(_);
Expand description
Network interface index
Identifies a single interface by index.
Implementations§
Trait Implementations§
source§impl Clone for InterfaceIndex
impl Clone for InterfaceIndex
source§fn clone(&self) -> InterfaceIndex
fn clone(&self) -> InterfaceIndex
Returns a copy 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 InterfaceIndex
impl Debug for InterfaceIndex
source§impl Hash for InterfaceIndex
impl Hash for InterfaceIndex
source§impl Into<u32> for InterfaceIndex
impl Into<u32> for InterfaceIndex
source§impl Ord for InterfaceIndex
impl Ord for InterfaceIndex
source§fn cmp(&self, other: &InterfaceIndex) -> Ordering
fn cmp(&self, other: &InterfaceIndex) -> 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<InterfaceIndex> for InterfaceIndex
impl PartialEq<InterfaceIndex> for InterfaceIndex
source§fn eq(&self, other: &InterfaceIndex) -> bool
fn eq(&self, other: &InterfaceIndex) -> bool
source§impl PartialOrd<InterfaceIndex> for InterfaceIndex
impl PartialOrd<InterfaceIndex> for InterfaceIndex
source§fn partial_cmp(&self, other: &InterfaceIndex) -> Option<Ordering>
fn partial_cmp(&self, other: &InterfaceIndex) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more