#[non_exhaustive]#[repr(u32)]pub enum nl80211_mesh_power_mode {
NL80211_MESH_POWER_UNKNOWN = 0,
NL80211_MESH_POWER_ACTIVE = 1,
NL80211_MESH_POWER_LIGHT_SLEEP = 2,
NL80211_MESH_POWER_DEEP_SLEEP = 3,
__NL80211_MESH_POWER_AFTER_LAST = 4,
}
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.
NL80211_MESH_POWER_UNKNOWN = 0
NL80211_MESH_POWER_ACTIVE = 1
NL80211_MESH_POWER_LIGHT_SLEEP = 2
NL80211_MESH_POWER_DEEP_SLEEP = 3
__NL80211_MESH_POWER_AFTER_LAST = 4
Implementations§
Source§impl nl80211_mesh_power_mode
impl nl80211_mesh_power_mode
pub const NL80211_MESH_POWER_MAX: nl80211_mesh_power_mode = nl80211_mesh_power_mode::NL80211_MESH_POWER_DEEP_SLEEP
Trait Implementations§
Source§impl Clone for nl80211_mesh_power_mode
impl Clone for nl80211_mesh_power_mode
Source§fn clone(&self) -> nl80211_mesh_power_mode
fn clone(&self) -> nl80211_mesh_power_mode
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 nl80211_mesh_power_mode
impl Debug for nl80211_mesh_power_mode
Source§impl Hash for nl80211_mesh_power_mode
impl Hash for nl80211_mesh_power_mode
Source§impl PartialEq for nl80211_mesh_power_mode
impl PartialEq for nl80211_mesh_power_mode
impl Copy for nl80211_mesh_power_mode
impl Eq for nl80211_mesh_power_mode
impl StructuralPartialEq for nl80211_mesh_power_mode
Auto Trait Implementations§
impl Freeze for nl80211_mesh_power_mode
impl RefUnwindSafe for nl80211_mesh_power_mode
impl Send for nl80211_mesh_power_mode
impl Sync for nl80211_mesh_power_mode
impl Unpin for nl80211_mesh_power_mode
impl UnwindSafe for nl80211_mesh_power_mode
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