Struct async_dnssd::InterfaceIndex
source · pub struct InterfaceIndex(/* private fields */);
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 From<InterfaceIndex> for u32
impl From<InterfaceIndex> for u32
source§fn from(ndx: InterfaceIndex) -> Self
fn from(ndx: InterfaceIndex) -> Self
Converts to this type from the input type.
source§impl Hash for InterfaceIndex
impl Hash 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 for InterfaceIndex
impl PartialEq for InterfaceIndex
source§impl PartialOrd for InterfaceIndex
impl PartialOrd for InterfaceIndex
impl Copy for InterfaceIndex
impl Eq for InterfaceIndex
impl StructuralPartialEq for InterfaceIndex
Auto Trait Implementations§
impl Freeze for InterfaceIndex
impl RefUnwindSafe for InterfaceIndex
impl Send for InterfaceIndex
impl Sync for InterfaceIndex
impl Unpin for InterfaceIndex
impl UnwindSafe for InterfaceIndex
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)