Enum netlink_packet_route::link::AfSpecInet6
source · #[non_exhaustive]pub enum AfSpecInet6 {
Flags(Inet6IfaceFlags),
CacheInfo(Inet6CacheInfo),
DevConf(Inet6DevConf),
Stats(Inet6Stats),
Icmp6Stats(Icmp6Stats),
Token(Ipv6Addr),
AddrGenMode(u8),
RaMtu(u32),
Other(DefaultNla),
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Flags(Inet6IfaceFlags)
CacheInfo(Inet6CacheInfo)
DevConf(Inet6DevConf)
Stats(Inet6Stats)
Icmp6Stats(Icmp6Stats)
Token(Ipv6Addr)
AddrGenMode(u8)
RaMtu(u32)
Other(DefaultNla)
Trait Implementations§
source§impl Clone for AfSpecInet6
impl Clone for AfSpecInet6
source§fn clone(&self) -> AfSpecInet6
fn clone(&self) -> AfSpecInet6
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 moresource§impl Debug for AfSpecInet6
impl Debug for AfSpecInet6
source§impl Nla for AfSpecInet6
impl Nla for AfSpecInet6
source§impl PartialEq for AfSpecInet6
impl PartialEq for AfSpecInet6
impl Eq for AfSpecInet6
impl StructuralPartialEq for AfSpecInet6
Auto Trait Implementations§
impl Freeze for AfSpecInet6
impl RefUnwindSafe for AfSpecInet6
impl Send for AfSpecInet6
impl Sync for AfSpecInet6
impl Unpin for AfSpecInet6
impl UnwindSafe for AfSpecInet6
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)