Struct AddressStatusV6
#[repr(transparent)]pub struct AddressStatusV6(AddressStatusV6);Tuple Fields§
§0: AddressStatusV6Implementations§
§impl AddressStatusV6
impl AddressStatusV6
pub const fn new() -> Self
pub const fn new() -> Self
Creates a new address status with default values.
const fn from_sys_ref(addr: &AddressStatusV6) -> &Self
pub const fn ip(&self) -> Ipv6Addr
pub const fn gateway(&self) -> Ipv6Addr
pub const fn pri_dns(&self) -> Ipv6Addr
pub const fn sec_dns(&self) -> Ipv6Addr
const fn convert_ip(addr: &[u8; 16]) -> Ipv6Addr
Trait Implementations§
§impl Clone for AddressStatusV6
impl Clone for AddressStatusV6
§fn clone(&self) -> AddressStatusV6
fn clone(&self) -> AddressStatusV6
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 more§impl Debug for AddressStatusV6
impl Debug for AddressStatusV6
Auto Trait Implementations§
impl Freeze for AddressStatusV6
impl RefUnwindSafe for AddressStatusV6
impl Send for AddressStatusV6
impl Sync for AddressStatusV6
impl Unpin for AddressStatusV6
impl UnwindSafe for AddressStatusV6
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