pub trait Buffer: BufMut + 'static {
type Sealed;
// Required methods
fn alloc() -> bool;
fn with_capacity(cap: usize) -> Self;
fn seal(self) -> Self::Sealed;
}
Expand description
Associated type for KeyStorage
used to build the hash key.
Required Associated Types§
Required Methods§
sourcefn with_capacity(cap: usize) -> Self
fn with_capacity(cap: usize) -> Self
Creates a new buffer with the given capacity.
Object Safety§
This trait is not object safe.