Struct AddressStatusV4
#[repr(transparent)]pub struct AddressStatusV4(AddressStatusV4);Tuple Fields§
§0: AddressStatusV4Implementations§
§impl AddressStatusV4
impl AddressStatusV4
const fn from_sys_ref(addr: &AddressStatusV4) -> &Self
pub const fn ip(&self) -> Ipv4Addr
pub const fn gateway(&self) -> Ipv4Addr
pub const fn pri_dns(&self) -> Ipv4Addr
pub const fn sec_dns(&self) -> Ipv4Addr
const fn convert_ip(addr: u32) -> Ipv4Addr
Trait Implementations§
§impl Clone for AddressStatusV4
impl Clone for AddressStatusV4
§fn clone(&self) -> AddressStatusV4
fn clone(&self) -> AddressStatusV4
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 AddressStatusV4
impl Debug for AddressStatusV4
§impl Serialize for AddressStatusV4
Available on crate feature serde only.
impl Serialize for AddressStatusV4
Available on crate feature
serde only.Auto Trait Implementations§
impl Freeze for AddressStatusV4
impl RefUnwindSafe for AddressStatusV4
impl Send for AddressStatusV4
impl Sync for AddressStatusV4
impl Unpin for AddressStatusV4
impl UnwindSafe for AddressStatusV4
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