from_bytes_lenient

Function from_bytes_lenient 

Source
pub fn from_bytes_lenient<'a, T>(input: &'a [u8]) -> Result<T>
where T: Deserialize<'a>,
Expand description

Deserializes a value from Bencode. Accepts unsorted dictionaries.