Skip to main content

from_reader

Function from_reader 

Source
pub fn from_reader<T, R, D>(reader: R, deserializer: D) -> Result<T, Error>
Available on crate feature io only.
Expand description

Reads a single value from a Read.

Fails if there is no value or if another value follows it.