pub struct Interface { /* private fields */ }Implementations§
Trait Implementations§
Source§impl WiFiInterface for Interface
impl WiFiInterface for Interface
fn scan(&self) -> Result<()>
fn scan_results(&self) -> Result<HashSet<Profile>>
fn connect(&self, ssid: &str) -> Result<bool>
fn disconnect(&self) -> Result<()>
fn add_network_profile(&self, profile: &Profile) -> Result<()>
fn network_profile_name_list(&self) -> Result<Vec<String>>
fn network_profiles(&self) -> Result<Vec<Profile>>
fn remove_network_profile(&self, name: &str) -> Result<()>
fn remove_all_network_profiles(&self) -> Result<()>
fn status(&self) -> Result<IFaceStatus>
impl Send for Interface
impl Sync for Interface
Auto Trait Implementations§
impl Freeze for Interface
impl RefUnwindSafe for Interface
impl Unpin for Interface
impl UnwindSafe for Interface
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