pub struct NetworkAddrs {
pub addr: IpAddr,
pub netmask: IpAddr,
}
Fields§
§addr: IpAddr
§netmask: IpAddr
Trait Implementations§
Source§impl Clone for NetworkAddrs
impl Clone for NetworkAddrs
Source§fn clone(&self) -> NetworkAddrs
fn clone(&self) -> NetworkAddrs
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 moreAuto Trait Implementations§
impl Freeze for NetworkAddrs
impl RefUnwindSafe for NetworkAddrs
impl Send for NetworkAddrs
impl Sync for NetworkAddrs
impl Unpin for NetworkAddrs
impl UnwindSafe for NetworkAddrs
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