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§
sourcefn into_inner(self) -> T
fn into_inner(self) -> T
Convert back into inner value