#[non_exhaustive]pub struct BridgeVlanGlobalOptions { /* private fields */ }Expand description
Bridge-global per-VLAN options, as read back from the kernel.
Returned by Connection::get_bridge_vlan_global_options. Fields
are Option because the kernel only reports options relevant to
the running configuration. The struct is #[non_exhaustive] so new
kernel options can be added without a breaking change.
See BridgeVlanGlobalOptionsBuilder for the not modelled
attributes.
Implementations§
Source§impl BridgeVlanGlobalOptions
impl BridgeVlanGlobalOptions
Sourcepub fn mcast_snooping(&self) -> Option<bool>
pub fn mcast_snooping(&self) -> Option<bool>
Whether per-VLAN multicast snooping is enabled.
Sourcepub fn mcast_querier(&self) -> Option<bool>
pub fn mcast_querier(&self) -> Option<bool>
Whether the per-VLAN multicast querier is enabled.
Sourcepub fn mcast_igmp_version(&self) -> Option<u8>
pub fn mcast_igmp_version(&self) -> Option<u8>
IGMP query version.
Sourcepub fn mcast_mld_version(&self) -> Option<u8>
pub fn mcast_mld_version(&self) -> Option<u8>
MLD query version.
Sourcepub fn mcast_last_member_count(&self) -> Option<u32>
pub fn mcast_last_member_count(&self) -> Option<u32>
Last-member query count.
Sourcepub fn mcast_startup_query_count(&self) -> Option<u32>
pub fn mcast_startup_query_count(&self) -> Option<u32>
Startup query count.
Sourcepub fn mcast_last_member_interval(&self) -> Option<u64>
pub fn mcast_last_member_interval(&self) -> Option<u64>
Last-member query interval (centiseconds).
Sourcepub fn mcast_membership_interval(&self) -> Option<u64>
pub fn mcast_membership_interval(&self) -> Option<u64>
Membership interval (centiseconds).
Sourcepub fn mcast_querier_interval(&self) -> Option<u64>
pub fn mcast_querier_interval(&self) -> Option<u64>
Querier interval (centiseconds).
Sourcepub fn mcast_query_interval(&self) -> Option<u64>
pub fn mcast_query_interval(&self) -> Option<u64>
Query interval (centiseconds).
Sourcepub fn mcast_query_response_interval(&self) -> Option<u64>
pub fn mcast_query_response_interval(&self) -> Option<u64>
Query response interval (centiseconds).
Sourcepub fn mcast_startup_query_interval(&self) -> Option<u64>
pub fn mcast_startup_query_interval(&self) -> Option<u64>
Startup query interval (centiseconds).
Trait Implementations§
Source§impl Clone for BridgeVlanGlobalOptions
impl Clone for BridgeVlanGlobalOptions
Source§fn clone(&self) -> BridgeVlanGlobalOptions
fn clone(&self) -> BridgeVlanGlobalOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for BridgeVlanGlobalOptions
impl Debug for BridgeVlanGlobalOptions
Source§impl Default for BridgeVlanGlobalOptions
impl Default for BridgeVlanGlobalOptions
Source§fn default() -> BridgeVlanGlobalOptions
fn default() -> BridgeVlanGlobalOptions
impl Eq for BridgeVlanGlobalOptions
Source§impl PartialEq for BridgeVlanGlobalOptions
impl PartialEq for BridgeVlanGlobalOptions
Source§fn eq(&self, other: &BridgeVlanGlobalOptions) -> bool
fn eq(&self, other: &BridgeVlanGlobalOptions) -> bool
self and other values to be equal, and is used by ==.