Function serde_mtproto::de::from_reader [] [src]

pub fn from_reader<R, T>(
    reader: R,
    enum_variant_id: Option<&'static str>
) -> Result<T> where
    R: Read,
    T: DeserializeOwned

Deserialize an instance of type T from an IO stream of binary MTProto.