Skip to main content

KeyVal

Type Alias KeyVal 

Source
pub type KeyVal<'a, K = &'a Slice, V = &'a Slice> = (Key<'a, K>, Val<'a, V>);
Expand description

Database key and value pair, borrowing raw byte slices by default.

K and V can replace the raw defaults with decoded or owned types. The lifetime tracks borrowed forms and does not affect owned substitutions.