Trait pearl::Key

source ·
pub trait Key: AsRef<[u8]> + Debug + Clone + Send + Sync + Ord + From<Vec<u8>> + Default {
    const LEN: u16;

    fn to_vec(&self) -> Vec<u8>  { ... }
}
Expand description

Trait Key

Required Associated Constants

Key must have fixed length

Provided Methods

Convert Self into Vec<u8>

Implementors