pub enum WifiMode {
Disabled,
Station,
SoftAP,
StationAndSoftAP,
}
Variants§
Disabled
Completely disable wifi RF activity.
Station
Act as a regular wifi client https://en.wikipedia.org/wiki/Station_(networking)
SoftAP
Act as a wifi Access Point https://en.wikipedia.org/wiki/Wireless_access_point
StationAndSoftAP
Act as both a regular wifi client and a wifi Access Point
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