#[non_exhaustive]pub enum InfoBond {
Show 32 variants
Mode(BondMode),
ActivePort(u32),
MiiMon(u32),
UpDelay(u32),
DownDelay(u32),
UseCarrier(u8),
ArpInterval(u32),
ArpIpTarget(Vec<Ipv4Addr>),
ArpValidate(u32),
ArpAllTargets(u32),
Primary(u32),
PrimaryReselect(u8),
FailOverMac(u8),
XmitHashPolicy(u8),
ResendIgmp(u32),
NumPeerNotif(u8),
AllPortsActive(u8),
MinLinks(u32),
LpInterval(u32),
PacketsPerPort(u32),
AdLacpRate(u8),
AdSelect(u8),
AdInfo(Vec<BondAdInfo>),
AdActorSysPrio(u16),
AdUserPortKey(u16),
AdActorSystem([u8; 6]),
TlbDynamicLb(u8),
PeerNotifDelay(u32),
AdLacpActive(u8),
MissedMax(u8),
NsIp6Target(Vec<Ipv6Addr>),
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.
Mode(BondMode)
ActivePort(u32)
MiiMon(u32)
UpDelay(u32)
DownDelay(u32)
UseCarrier(u8)
ArpInterval(u32)
ArpIpTarget(Vec<Ipv4Addr>)
ArpValidate(u32)
ArpAllTargets(u32)
Primary(u32)
PrimaryReselect(u8)
FailOverMac(u8)
XmitHashPolicy(u8)
ResendIgmp(u32)
NumPeerNotif(u8)
AllPortsActive(u8)
MinLinks(u32)
LpInterval(u32)
PacketsPerPort(u32)
AdLacpRate(u8)
AdSelect(u8)
AdInfo(Vec<BondAdInfo>)
AdActorSysPrio(u16)
AdUserPortKey(u16)
AdActorSystem([u8; 6])
TlbDynamicLb(u8)
PeerNotifDelay(u32)
AdLacpActive(u8)
MissedMax(u8)
NsIp6Target(Vec<Ipv6Addr>)
Other(DefaultNla)
Trait Implementations§
impl Eq for InfoBond
impl StructuralPartialEq for InfoBond
Auto Trait Implementations§
impl Freeze for InfoBond
impl RefUnwindSafe for InfoBond
impl Send for InfoBond
impl Sync for InfoBond
impl Unpin for InfoBond
impl UnwindSafe for InfoBond
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
)