pub struct AddressFlags {
pub secondary: bool,
pub nodad: bool,
pub optimistic: bool,
pub dadfailed: bool,
pub homeaddress: bool,
pub deprecated: bool,
pub tentative: bool,
pub permanent: bool,
}Expand description
Flags associated with an interface address.
Fields§
§secondary: bool§nodad: bool§optimistic: bool§dadfailed: bool§homeaddress: bool§deprecated: bool§tentative: bool§permanent: boolTrait Implementations§
Source§impl Clone for AddressFlags
impl Clone for AddressFlags
Source§fn clone(&self) -> AddressFlags
fn clone(&self) -> AddressFlags
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 moreSource§impl Debug for AddressFlags
impl Debug for AddressFlags
Source§impl Default for AddressFlags
impl Default for AddressFlags
Source§fn default() -> AddressFlags
fn default() -> AddressFlags
Returns the “default value” for a type. Read more
Source§impl From<IfaF> for AddressFlags
Available on Linux and crate feature netlink only.
impl From<IfaF> for AddressFlags
Available on Linux and crate feature
netlink only.impl Copy for AddressFlags
Auto Trait Implementations§
impl Freeze for AddressFlags
impl RefUnwindSafe for AddressFlags
impl Send for AddressFlags
impl Sync for AddressFlags
impl Unpin for AddressFlags
impl UnsafeUnpin for AddressFlags
impl UnwindSafe for AddressFlags
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