pub trait ScanRequestApi: Send + Sync {
    // Required method
    fn perform_scan<'life0, 'async_trait>(
        &'life0 self,
        scan_reason: ScanReason,
        ssids: Vec<Ssid>,
        channels: Vec<WlanChan>
    ) -> Pin<Box<dyn Future<Output = Result<Vec<ScanResult>, ScanError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

fn perform_scan<'life0, 'async_trait>( &'life0 self, scan_reason: ScanReason, ssids: Vec<Ssid>, channels: Vec<WlanChan> ) -> Pin<Box<dyn Future<Output = Result<Vec<ScanResult>, ScanError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§