pub struct IW { /* private fields */ }Implementations§
Source§impl IW
 
impl IW
pub async fn new() -> Result<Self, IWError>
pub async fn interface_list(&self) -> Result<Vec<Interface>, IWError>
pub async fn set_mode( &self, interface: &Interface, mode: Mode, ) -> Result<(), IWError>
pub async fn scan(&self, interface: &Interface) -> Result<Vec<BSS>, IWError>
pub async fn set_channel( &self, interface: &Interface, channel: i32, band_width: Option<BandWidth>, second: Option<SecondChannel>, ) -> Result<(), IWError>
pub async fn set_channel_by_bss( &self, interface: &Interface, bss: &BSS, ) -> Result<(), IWError>
pub async fn set_freq_by_bss( &self, interface: &Interface, bss: &BSS, ) -> Result<(), IWError>
pub async fn set_freq( &self, interface: &Interface, freq_mhz: i32, band_width: Option<BandWidth>, second: Option<SecondChannel>, ) -> Result<(), IWError>
Auto Trait Implementations§
impl Freeze for IW
impl RefUnwindSafe for IW
impl Send for IW
impl Sync for IW
impl Unpin for IW
impl UnwindSafe for IW
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