pub struct CWInterface { /* private fields */ }Expand description
“Encapsulates an IEEE 802.11 interface.”
Implementations§
Source§impl CWInterface
impl CWInterface
Sourcepub fn scanForNetworksWithName(
&self,
name: Option<String>,
) -> Result<Vec<CWNetwork>, ()>
pub fn scanForNetworksWithName( &self, name: Option<String>, ) -> Result<Vec<CWNetwork>, ()>
“Scans for networks.”
Scanning more than once every 10 seconds leads to an error.
Sourcepub fn disassociate(&self)
pub fn disassociate(&self)
“Disassociates from the current network.”
Auto Trait Implementations§
impl Freeze for CWInterface
impl RefUnwindSafe for CWInterface
impl !Send for CWInterface
impl !Sync for CWInterface
impl Unpin for CWInterface
impl UnwindSafe for CWInterface
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