Skip to main content

from_bytes

Function from_bytes 

Source
pub fn from_bytes<'de, T: Deserialize<'de>>(b: &'de [u8]) -> Result<T, DeError>
Expand description

Deserialize from an XML byte slice. The bytes must be valid UTF-8.