#[non_exhaustive]pub enum InfoNetkit {
Peer(LinkMessage),
Primary(bool),
Policy(NetkitPolicy),
PeerPolicy(NetkitPolicy),
Mode(NetkitMode),
Scrub(NetkitScrub),
PeerScrub(NetkitScrub),
Headroom(u16),
Tailroom(u16),
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.
Peer(LinkMessage)
Primary(bool)
Policy(NetkitPolicy)
PeerPolicy(NetkitPolicy)
Mode(NetkitMode)
Scrub(NetkitScrub)
PeerScrub(NetkitScrub)
Headroom(u16)
Tailroom(u16)
Other(DefaultNla)
Trait Implementations§
Source§impl Clone for InfoNetkit
impl Clone for InfoNetkit
Source§fn clone(&self) -> InfoNetkit
fn clone(&self) -> InfoNetkit
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 InfoNetkit
impl Debug for InfoNetkit
Source§impl Nla for InfoNetkit
impl Nla for InfoNetkit
Source§impl PartialEq for InfoNetkit
impl PartialEq for InfoNetkit
impl Eq for InfoNetkit
impl StructuralPartialEq for InfoNetkit
Auto Trait Implementations§
impl Freeze for InfoNetkit
impl RefUnwindSafe for InfoNetkit
impl Send for InfoNetkit
impl Sync for InfoNetkit
impl Unpin for InfoNetkit
impl UnwindSafe for InfoNetkit
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