pub trait PruneStorage: PrunerConfig {
type Pruner<'a>: Default + Send
where Self: 'a;
// Provided method
fn prune<'a, 'life0, 'async_trait>(
&'a self,
_pruner: &'life0 mut Self::Pruner<'a>,
) -> Pin<Box<dyn Future<Output = Result<Option<u64>>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'a: 'async_trait,
'life0: 'async_trait { ... }
}Required Associated Types§
Provided Methods§
fn prune<'a, 'life0, 'async_trait>(
&'a self,
_pruner: &'life0 mut Self::Pruner<'a>,
) -> Pin<Box<dyn Future<Output = Result<Option<u64>>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
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.