pub struct Station {
pub device: OwnedObjectPath,
pub interface: String,
pub address: String,
pub powered: bool,
pub state: String,
pub scanning: bool,
pub networks: Vec<Network>,
}Expand description
A Wi-Fi device in station mode, and what it sees.
Fields§
§device: OwnedObjectPathThe device’s object, for set_powered, scan and disconnect.
interface: StringLike wlan0.
address: StringThe device’s MAC address.
powered: bool§state: Stringiwd’s word for it: connected, connecting, disconnected, roaming…
scanning: bool§networks: Vec<Network>Strongest first, the connected one among them.
Trait Implementations§
impl StructuralPartialEq for Station
Auto Trait Implementations§
impl Freeze for Station
impl RefUnwindSafe for Station
impl Send for Station
impl Sync for Station
impl Unpin for Station
impl UnsafeUnpin for Station
impl UnwindSafe for Station
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