Skip to main content

from_reader

Function from_reader 

Source
pub fn from_reader<R: Read, T: DeserializeOwned>(reader: R) -> Result<T>
Available on crate feature serde only.
Expand description

Deserializes the root element of an ABX document read from reader into T.

See from_slice.

ยงErrors

Same as from_slice, plus AbxError::Io if reading fails.