Function ruma_common::serde::urlencoded::de::from_reader
source · [−]pub fn from_reader<T, R>(reader: R) -> Result<T, Error> where
T: DeserializeOwned,
R: Read,
Expand description
Convenience function that reads all bytes from reader
and deserializes
them with from_bytes
.