pub fn from_slice<T: DeserializeOwned>(b: &[u8]) -> Result<T, DeError>
Deserialize an instance of type T from bytes of XML text.