1pub trait Key<'a> : From<&'a [u8]> + AsRef<[u8]> { } 2 3impl<'a> Key<'a> for &'a [u8] { } 4impl<'a> Key<'a> for Vec<u8> { }