pub enum WifiHotspotError {
CreationFailed,
FailedToStop(Error),
Other {
kind: WifiError,
},
}
Expand description
Error that might occur when interacting managing wireless hotspot.
Variants§
CreationFailed
Failed to ceate wireless hotspot.s
FailedToStop(Error)
Failed to stop wireless hotspot service. Try turning off
the wireless interface via wifi.turn_off()
.
Other
A wireless interface error occurred.
Fields
§
kind: WifiError
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WifiHotspotError
impl !RefUnwindSafe for WifiHotspotError
impl Send for WifiHotspotError
impl Sync for WifiHotspotError
impl Unpin for WifiHotspotError
impl !UnwindSafe for WifiHotspotError
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