Function bson::from_reader[][src]

pub fn from_reader<R, T>(reader: R) -> Result<T> where
    T: DeserializeOwned,
    R: Read
Expand description

Deserialize an instance of type T from an I/O stream of BSON.