Trait DataDecoder

Source
pub trait DataDecoder:
    Debug
    + Sync
    + Send {
    // Required method
    fn decode(&self, key: &str, data: &mut Bson) -> Result<()>;
}
Expand description

DataDecoder Process some bson data not yet supported by the framework, which returns TypeInfo and bytes

Required Methods§

Source

fn decode(&self, key: &str, data: &mut Bson) -> Result<()>

Implementors§