pub fn read_value<R>(rd: &mut R) -> Result<Value, Error>where
R: Read,Expand description
Attempts to read bytes from the given reader and interpret them as a Value.
ยงErrors
This function will return Error on any I/O error while either reading or decoding a Value.
All instances of ErrorKind::Interrupted are handled by this function and the underlying
operation is retried.