pub struct LocalInterface {
pub name: String,
pub link_local_addr: String,
pub index: u32,
}Expand description
Information about a local network interface with an IPv6 link-local address.
Fields§
§name: String§link_local_addr: String§index: u32Trait Implementations§
Source§impl Clone for LocalInterface
impl Clone for LocalInterface
Source§fn clone(&self) -> LocalInterface
fn clone(&self) -> LocalInterface
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 moreAuto Trait Implementations§
impl Freeze for LocalInterface
impl RefUnwindSafe for LocalInterface
impl Send for LocalInterface
impl Sync for LocalInterface
impl Unpin for LocalInterface
impl UnwindSafe for LocalInterface
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