Struct netzwork_api::NetInterfaceId
source · pub struct NetInterfaceId { /* private fields */ }
Implementations§
source§impl NetInterfaceId
impl NetInterfaceId
pub fn fingerprint(&self, ip_addr: &IpAddr) -> [u8; 32]
pub fn fingerprint_set(&self) -> HashSet<[u8; 32]>
Trait Implementations§
source§impl Clone for NetInterfaceId
impl Clone for NetInterfaceId
source§fn clone(&self) -> NetInterfaceId
fn clone(&self) -> NetInterfaceId
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 NetInterfaceId
impl Debug for NetInterfaceId
source§impl<'de> Deserialize<'de> for NetInterfaceId
impl<'de> Deserialize<'de> for NetInterfaceId
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for NetInterfaceId
impl Display for NetInterfaceId
source§impl PartialEq<NetInterfaceId> for NetInterfaceId
impl PartialEq<NetInterfaceId> for NetInterfaceId
source§fn eq(&self, other: &NetInterfaceId) -> bool
fn eq(&self, other: &NetInterfaceId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for NetInterfaceId
impl Serialize for NetInterfaceId
impl StructuralPartialEq for NetInterfaceId
Auto Trait Implementations§
impl RefUnwindSafe for NetInterfaceId
impl Send for NetInterfaceId
impl Sync for NetInterfaceId
impl Unpin for NetInterfaceId
impl UnwindSafe for NetInterfaceId
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