Trait anterofit::serialize::Deserializer[][src]

pub trait Deserializer: Send + Sync + 'static {
    fn deserialize<T: Deserialize, R: Read>(&self, read: &mut R) -> Result<T>;
}

A trait describing types which can concurrently deserialize other types from byte-streams.

Required Methods

Deserialize T from read, returning the result.

Implementors