Skip to main content

KeyFn

Type Alias KeyFn 

Source
pub type KeyFn = Box<dyn Fn(&[u8]) -> Vec<Vec<u8>> + Send + Sync>;
Expand description

Derives the lookup keys of an entry from its bytes. The identity hash is always a key and need not be returned.

Aliased Typeยง

pub struct KeyFn(/* private fields */);