pub trait HasKeyPrefix<P>: KeyGenerator {
type Suffix;
// Required method
fn partial_key(prefix: P) -> Vec<u8> ⓘ;
}
Expand description
Trait indicating whether a KeyGenerator has the prefix P.
Required Associated Types§
Required Methods§
fn partial_key(prefix: P) -> Vec<u8> ⓘ
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.