pub trait Smr<K: Key, V: Value> {
type Guard<'g>: Guard<V>
where V: 'g,
Self: 'g;
// Required method
fn guard<'g>(&'g self, prefix: K::Read<'_>) -> Self::Guard<'g>
where V: 'g;
// Provided method
fn garbage(&self) -> u32 { ... }
}Expand description
Provides safe memory reclamation for the given key and value type.
Required Associated Types§
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".