pub enum WifiMode {
Unknown,
AdHoc,
Station,
AccessPoint,
Mesh,
}Expand description
What a Wi-Fi device does, from NetworkManager’s NM80211Mode.
Variants§
Unknown
Not known, and for a device that isn’t Wi-Fi.
AdHoc
Part of an ad-hoc network, with no access point.
Station
A station that joins networks, the usual mode.
AccessPoint
An access point of its own, as a hotspot.
Mesh
An 802.11s mesh point.
Trait Implementations§
impl Copy for WifiMode
impl Eq for WifiMode
impl StructuralPartialEq for WifiMode
Auto Trait Implementations§
impl Forget for WifiMode
impl Freeze for WifiMode
impl Move for WifiMode
impl RefUnwindSafe for WifiMode
impl Send for WifiMode
impl Sync for WifiMode
impl Unpin for WifiMode
impl UnsafeUnpin 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