Enum esp_wifi::config::PowerSaveMode
source · #[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.