pub enum Status {
Disconnected(DisconnectReason),
Started,
Stopped,
Initializing,
Connected,
}Expand description
Wi-Fi connection status.
Variants§
Disconnected(DisconnectReason)
Failed to connect to (or was disconnected from) an Access Point.
Started
Wifi peripheral is started but not doing anything.
Stopped
Wifi peripheral is not started (or was stopped).
Initializing
Connected to the Access Point, obtaining IP address.
Connected
IP address is obtained, ready to go.
Trait Implementations§
impl Copy for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnsafeUnpin for Status
impl UnwindSafe for Status
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