Trait emergency_lib::bss_cache::BssCache
source · 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
.
Object Safety§
This trait is not object safe.