#[non_exhaustive]pub struct BridgePortInfo {Show 42 fields
pub stp_state: BridgePortStpState,
pub stp_priority: u16,
pub stp_path_cost: u32,
pub hairpin_mode: bool,
pub bpdu_guard: bool,
pub root_block: bool,
pub multicast_fast_leave: bool,
pub learning: bool,
pub unicast_flood: bool,
pub proxyarp: bool,
pub proxyarp_wifi: bool,
pub designated_root: String,
pub designated_bridge: String,
pub designated_port: u16,
pub designated_cost: u16,
pub port_id: String,
pub port_no: String,
pub change_ack: bool,
pub config_pending: bool,
pub message_age_timer: u64,
pub forward_delay_timer: u64,
pub hold_timer: u64,
pub multicast_router: BridgePortMulticastRouterType,
pub multicast_flood: bool,
pub multicast_to_unicast: bool,
pub vlan_tunnel: bool,
pub broadcast_flood: bool,
pub group_fwd_mask: u16,
pub neigh_suppress: bool,
pub isolated: bool,
pub backup_port: String,
pub mrp_ring_open: Option<bool>,
pub mrp_in_open: Option<bool>,
pub mcast_eht_hosts_limit: Option<u32>,
pub mcast_eht_hosts_cnt: Option<u32>,
pub vlans: Option<Vec<BridgeVlanEntry>>,
pub locked: Option<bool>,
pub mac_authentication_bypass: Option<bool>,
pub multicast_n_groups: Option<u32>,
pub multicast_max_groups: Option<u32>,
pub neigh_vlan_supress: Option<bool>,
pub backup_nexthop_id: Option<u32>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.stp_state: BridgePortStpState
§stp_priority: u16
§stp_path_cost: u32
§hairpin_mode: bool
§bpdu_guard: bool
§root_block: bool
§multicast_fast_leave: bool
§learning: bool
§unicast_flood: bool
§proxyarp: bool
§proxyarp_wifi: bool
§designated_root: String
§designated_bridge: String
§designated_port: u16
§designated_cost: u16
§port_id: String
§port_no: String
§change_ack: bool
§config_pending: bool
§message_age_timer: u64
§forward_delay_timer: u64
§hold_timer: u64
§multicast_router: BridgePortMulticastRouterType
§multicast_flood: bool
§multicast_to_unicast: bool
§vlan_tunnel: bool
§broadcast_flood: bool
§group_fwd_mask: u16
§neigh_suppress: bool
§isolated: bool
§backup_port: String
§mrp_ring_open: Option<bool>
§mrp_in_open: Option<bool>
§mcast_eht_hosts_limit: Option<u32>
§mcast_eht_hosts_cnt: Option<u32>
§vlans: Option<Vec<BridgeVlanEntry>>
§locked: Option<bool>
§mac_authentication_bypass: Option<bool>
§multicast_n_groups: Option<u32>
§multicast_max_groups: Option<u32>
§neigh_vlan_supress: Option<bool>
§backup_nexthop_id: Option<u32>
Trait Implementations§
source§impl Clone for BridgePortInfo
impl Clone for BridgePortInfo
source§fn clone(&self) -> BridgePortInfo
fn clone(&self) -> BridgePortInfo
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 BridgePortInfo
impl Debug for BridgePortInfo
source§impl Default for BridgePortInfo
impl Default for BridgePortInfo
source§fn default() -> BridgePortInfo
fn default() -> BridgePortInfo
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BridgePortInfo
impl<'de> Deserialize<'de> for BridgePortInfo
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for BridgePortInfo
impl PartialEq for BridgePortInfo
source§impl Serialize for BridgePortInfo
impl Serialize for BridgePortInfo
impl Eq for BridgePortInfo
impl StructuralPartialEq for BridgePortInfo
Auto Trait Implementations§
impl Freeze for BridgePortInfo
impl RefUnwindSafe for BridgePortInfo
impl Send for BridgePortInfo
impl Sync for BridgePortInfo
impl Unpin for BridgePortInfo
impl UnwindSafe for BridgePortInfo
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
)