Skip to main content

StorageGcOps

Trait StorageGcOps 

Source
pub trait StorageGcOps:
    Send
    + Sync
    + Debug {
    // Required methods
    fn is_index_gc_running(&self) -> bool;
    fn start_index_gc(&self) -> Option<BackgroundTaskHandle>;
    fn stop_index_gc(&self);
}
Expand description

Index GC operations.

Required Methods§

Source

fn is_index_gc_running(&self) -> bool

Source

fn start_index_gc(&self) -> Option<BackgroundTaskHandle>

Source

fn stop_index_gc(&self)

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§