Function bson::from_reader
source · 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.
pub fn from_reader<R, T>(reader: R) -> Result<T>where
T: DeserializeOwned,
R: Read,Deserialize an instance of type T from an I/O stream of BSON.