pub trait LiteralizeCodec:
Debug
+ Send
+ Sync {
// Required methods
fn try_encode(&self, value: &dyn Literalize) -> Result<Vec<u8>>;
fn try_decode(&self, value: &[u8]) -> Result<Arc<dyn Literalize>>;
}pub trait LiteralizeCodec:
Debug
+ Send
+ Sync {
// Required methods
fn try_encode(&self, value: &dyn Literalize) -> Result<Vec<u8>>;
fn try_decode(&self, value: &[u8]) -> Result<Arc<dyn Literalize>>;
}