Trait kv::Codec

source ·
pub trait Codec<T: Serialize + DeserializeOwned>: Value + AsRef<T> + AsMut<T> {
    // Required method
    fn into_inner(self) -> T;
}
Expand description

Base trait for values that can be encoded using serde

Required Methods§

source

fn into_inner(self) -> T

Convert back into inner value

Implementors§