pub struct WpaStatus {
pub state: WpaState,
pub ip: Option<IpAddr>,
pub ssid: Option<String>,
}
Expand description
Interface status
Fields§
§state: WpaState
Interface state
ip: Option<IpAddr>
Interface IP address, available if connected
ssid: Option<String>
SSID used by interface on successful connection.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WpaStatus
impl RefUnwindSafe for WpaStatus
impl Send for WpaStatus
impl Sync for WpaStatus
impl Unpin for WpaStatus
impl UnwindSafe for WpaStatus
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