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§

source

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.

source

fn iter(&self) -> Box<dyn Iterator<Item = (&BssId, &Bss)> + '_>

Returns an iterator over the known BSSes.

Object Safety§

This trait is not object safe.

Implementors§