Function from_bytes

Source
pub fn from_bytes<'de, T>(s: &'de [u8]) -> Result<T, DeError>
where T: Deserialize<'de>,
👎Deprecated: Use from_slice instead
Expand description

Deserialize an instance of type T from bytes of XML text.