Trait Key

Source
pub trait Key<'a>: From<&'a [u8]> + AsRef<[u8]> { }

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<'a> Key<'a> for &'a [u8]

Source§

impl<'a> Key<'a> for Vec<u8>

Implementors§