pub enum WifiMode {
Searching,
Failed,
Active,
}Expand description
Controls the Wi-Fi mode that is shown in the status bar.
Variants§
Searching
Indicates that the device is searching for a Wi-Fi network.
Failed
Indicates that the device failed to find a Wi-Fi network.
Active
Indicates that the device is currently connected to a Wi-Fi network.
Trait Implementations§
impl Copy for WifiMode
impl Eq for WifiMode
impl StructuralPartialEq for WifiMode
Auto Trait Implementations§
impl Freeze for WifiMode
impl RefUnwindSafe for WifiMode
impl Send for WifiMode
impl Sync for WifiMode
impl Unpin for WifiMode
impl UnwindSafe for WifiMode
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