pub struct Address {
pub index: i32,
pub address: IpNet,
pub label: String,
pub flags: u8,
pub scope: u8,
pub broadcast: Option<IpAddr>,
pub peer: Option<IpNet>,
pub preferred_lifetime: i32,
pub valid_lifetime: i32,
}Fields§
§index: i32§address: IpNet§label: String§flags: u8§scope: u8§broadcast: Option<IpAddr>§peer: Option<IpNet>§preferred_lifetime: i32§valid_lifetime: i32Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Address
impl RefUnwindSafe for Address
impl Send for Address
impl Sync for Address
impl Unpin for Address
impl UnsafeUnpin for Address
impl UnwindSafe for Address
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