Skip to main content

Cleaner

Trait Cleaner 

Source
pub trait Cleaner {
    // Required methods
    fn collect(
        &self,
        low: SegmentId,
        high: SegmentId,
    ) -> impl Future<Output = Result<(Vec<SegmentId>, Vec<SegmentId>)>> + Send;
    fn prune(
        &self,
        low: SegmentId,
        high: SegmentId,
    ) -> impl Future<Output = Result<()>> + Send;
}

Required Methods§

Source

fn collect( &self, low: SegmentId, high: SegmentId, ) -> impl Future<Output = Result<(Vec<SegmentId>, Vec<SegmentId>)>> + Send

Source

fn prune( &self, low: SegmentId, high: SegmentId, ) -> impl Future<Output = Result<()>> + Send

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§