[][src]Function rmpv::decode::value::read_value

pub fn read_value<R>(rd: &mut R) -> Result<Value, Error> where
    R: Read

Attempts to read bytes from the given reader and interpret them as a Value.


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.