Skip to main content

key_entry_len

Function key_entry_len 

Source
pub fn key_entry_len(klen: usize) -> Result<usize>
Expand description

How many bytes a key of klen takes in the key table.

§Errors

Code::Invalid if the key is longer than a record’s key can be, which is the same limit for the same reason: a key is a thing you look up by.