pub trait MetadataKey<'a, T> {
// Required methods
fn to_bytes(&self) -> Vec<u8> ⓘ;
fn from_bytes(bytes: &'a [u8]) -> Result<T>;
}Expand description
The key of metadata.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".