Trait GarbageCollect

Source
pub trait GarbageCollect: Manager + ManagerInterval {
    // Provided method
    fn garbage_collect(&self, shared_pool: &SharedManagedPool<Self>) { ... }
}
Expand description

helper trait to spawn default garbage collect process to Pool<Manager>.

Provided Methods§

Source

fn garbage_collect(&self, shared_pool: &SharedManagedPool<Self>)

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§