pub trait ToVec { const LEN: usize; fn to_vec(&self) -> Vec<u8> where Self: Sized; }
Convert a key into a vec of bytes.