common_meta::key

Trait MetadataValue

source
pub trait MetadataValue {
    // Required methods
    fn try_from_raw_value(raw_value: &[u8]) -> Result<Self>
       where Self: Sized;
    fn try_as_raw_value(&self) -> Result<Vec<u8>>;
}

Required Methods§

source

fn try_from_raw_value(raw_value: &[u8]) -> Result<Self>
where Self: Sized,

source

fn try_as_raw_value(&self) -> Result<Vec<u8>>

Implementors§