Skip to main content

key

Function key 

Source
pub fn key<K, V>(kv: KeyVal<'_, K, V>) -> Key<'_, K>
Expand description

Returns the key component of a database pair.

The pair is consumed and its value component is dropped. No serialization or allocation is performed by this projection.