pub trait BssCache {
// Required methods
fn update<'life0, 'async_trait, I>(
&'life0 mut self,
new_bsses: I,
) -> Pin<Box<dyn Future<Output = Result<(), UpdateError>> + 'async_trait>>
where I: 'async_trait + ScanResultIteratorProxyInterface,
Self: 'async_trait,
'life0: 'async_trait;
fn iter(&self) -> Box<dyn Iterator<Item = (&BssId, &Bss)> + '_>;
}
Required Methods§
Sourcefn update<'life0, 'async_trait, I>(
&'life0 mut self,
new_bsses: I,
) -> Pin<Box<dyn Future<Output = Result<(), UpdateError>> + 'async_trait>>where
I: 'async_trait + ScanResultIteratorProxyInterface,
Self: 'async_trait,
'life0: 'async_trait,
fn update<'life0, 'async_trait, I>(
&'life0 mut self,
new_bsses: I,
) -> Pin<Box<dyn Future<Output = Result<(), UpdateError>> + 'async_trait>>where
I: 'async_trait + ScanResultIteratorProxyInterface,
Self: 'async_trait,
'life0: 'async_trait,
Updates the cache with BSSes from new_bsses
.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.