Trait bonsaidb::core::transmog::OwnedDeserializer[]

pub trait OwnedDeserializer<T>: Format<'static, T> {
    fn deserialize_from<R>(&self, reader: R) -> Result<T, Self::Error>
    where
        R: Read
; fn deserialize_owned(&self, data: &[u8]) -> Result<T, Self::Error> { ... } }
Expand description

A deserializer that does not attempt to borrow data when deserializing.

Required methods

Deserialize T from reader.

Provided methods

Deserialize T from data.

Implementors