pub trait Params {
type Collector: CollectorWeak;
const LENGTH: Capacity = DefaultParams::LENGTH;
}Expand description
Compile-time configuration for a PTab.
Allows compile-time customization of table parameters. The simplest approach
is through ConstParams:
use ptab::{PTab, ConstParams};
type MyTable<T> = PTab<T, ConstParams<8192>>;Provided Associated Constants§
Required Associated Types§
Sourcetype Collector: CollectorWeak
type Collector: CollectorWeak
The memory reclamation strategy used for removed entries.
See Collector for more info.
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.