Trait pearl::Key[][src]

pub trait Key: AsRef<[u8]> + Debug {
    const LEN: u16;
    fn to_vec(&self) -> Vec<u8> { ... }
}

Trait Key

Associated Constants

const LEN: u16[src]

Key must have fixed length

Loading content...

Provided methods

fn to_vec(&self) -> Vec<u8>[src]

Convert Self into Vec<u8>

Loading content...

Implementations on Foreign Types

impl<T> Key for &T where
    T: Key
[src]

Loading content...

Implementors

Loading content...