#[non_exhaustive]pub enum PowerSaveMode {
None,
Minimum,
Maximum,
}
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.
Trait Implementations§
Source§impl Default for PowerSaveMode
impl Default for PowerSaveMode
Source§fn default() -> PowerSaveMode
fn default() -> PowerSaveMode
Returns the “default value” for a type. Read more
Source§impl From<PowerSaveMode> for wifi_ps_type_t
impl From<PowerSaveMode> for wifi_ps_type_t
Source§fn from(s: PowerSaveMode) -> Self
fn from(s: PowerSaveMode) -> Self
Converts to this type from the input type.