Vacuum

Trait Vacuum 

Source
pub trait Vacuum: Backend {
    // Required method
    fn vacuum(
        &mut self,
    ) -> impl Future<Output = Result<usize, Self::Error>> + Send;
}
Expand description

Allows cleaning up resources in the backend

Required Methods§

Source

fn vacuum(&mut self) -> impl Future<Output = Result<usize, Self::Error>> + Send

Cleans up resources and returns the number of items vacuumed

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.

Implementors§