Enum netlink_packet_route::link::InfoBridgePort
source · #[non_exhaustive]pub enum InfoBridgePort {
Show 43 variants
State(BridgePortState),
Priority(u16),
Cost(u32),
HairpinMode(bool),
Guard(bool),
Protect(bool),
FastLeave(bool),
Learning(bool),
UnicastFlood(bool),
ProxyARP(bool),
ProxyARPWifi(bool),
RootId(BridgeId),
BridgeId(BridgeId),
DesignatedPort(u16),
DesignatedCost(u16),
PortId(u16),
PortNumber(u16),
TopologyChangeAck(bool),
ConfigPending(bool),
MessageAgeTimer(u64),
ForwardDelayTimer(u64),
HoldTimer(u64),
Flush,
MulticastRouter(BridgePortMulticastRouter),
MulticastFlood(bool),
MulticastToUnicast(bool),
VlanTunnel(bool),
BroadcastFlood(bool),
GroupFwdMask(u16),
NeighSupress(bool),
Isolated(bool),
BackupPort(u32),
MrpRingOpen(bool),
MrpInOpen(bool),
MulticastEhtHostsLimit(u32),
MulticastEhtHostsCnt(u32),
Locked(bool),
Mab(bool),
MulticastNGroups(u32),
MulticastMaxGroups(u32),
NeighVlanSupress(bool),
BackupNextHopId(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.
State(BridgePortState)
Priority(u16)
Cost(u32)
HairpinMode(bool)
Guard(bool)
Protect(bool)
FastLeave(bool)
Learning(bool)
UnicastFlood(bool)
ProxyARP(bool)
ProxyARPWifi(bool)
RootId(BridgeId)
BridgeId(BridgeId)
DesignatedPort(u16)
DesignatedCost(u16)
PortId(u16)
PortNumber(u16)
TopologyChangeAck(bool)
ConfigPending(bool)
MessageAgeTimer(u64)
ForwardDelayTimer(u64)
HoldTimer(u64)
Flush
MulticastRouter(BridgePortMulticastRouter)
MulticastFlood(bool)
MulticastToUnicast(bool)
VlanTunnel(bool)
BroadcastFlood(bool)
GroupFwdMask(u16)
NeighSupress(bool)
Isolated(bool)
BackupPort(u32)
MrpRingOpen(bool)
MrpInOpen(bool)
MulticastEhtHostsLimit(u32)
MulticastEhtHostsCnt(u32)
Locked(bool)
Mab(bool)
MulticastNGroups(u32)
MulticastMaxGroups(u32)
NeighVlanSupress(bool)
BackupNextHopId(u32)
Other(DefaultNla)
Trait Implementations§
source§impl Clone for InfoBridgePort
impl Clone for InfoBridgePort
source§fn clone(&self) -> InfoBridgePort
fn clone(&self) -> InfoBridgePort
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 InfoBridgePort
impl Debug for InfoBridgePort
source§impl Nla for InfoBridgePort
impl Nla for InfoBridgePort
source§impl PartialEq for InfoBridgePort
impl PartialEq for InfoBridgePort
impl Eq for InfoBridgePort
impl StructuralPartialEq for InfoBridgePort
Auto Trait Implementations§
impl Freeze for InfoBridgePort
impl RefUnwindSafe for InfoBridgePort
impl Send for InfoBridgePort
impl Sync for InfoBridgePort
impl Unpin for InfoBridgePort
impl UnwindSafe for InfoBridgePort
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
)