pub trait WifiAsync {
type Error;
fn get_capabilities<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<EnumSet<Capability>, Self::Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn get_status<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Status, Self::Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn scan<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Vec<AccessPointInfo>, Self::Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn get_configuration<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Configuration, Self::Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn set_configuration<'life0, 'life1, 'async_trait>(
&'life0 mut self,
conf: &'life1 Configuration
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
fn scan_fill<'life0, 'life1, 'async_trait>(
&'life0 mut self,
access_points: &'life1 mut [AccessPointInfo]
) -> Pin<Box<dyn Future<Output = Result<usize, Self::Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Send + 'async_trait,
{ ... }
}