pub trait Codec: Send + Sync {
// Required methods
fn packed(&self, value: &Value) -> Result<Value, CodecError>;
fn unpacked(&self, value: &Value) -> Result<Value, CodecError>;
}Expand description
Writes down what cannot leave a process, and reads it back.