pub trait ScanResultUpdate {
// Required method
fn update_scan_results<'life0, 'async_trait>(
&'life0 self,
scan_results: Vec<ScanResult>,
) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
Allows for consumption of updated scan results.
Required Methods§
fn update_scan_results<'life0, 'async_trait>(
&'life0 self,
scan_results: Vec<ScanResult>,
) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".