Skip to main content

try_decode

Function try_decode 

Source
pub fn try_decode<T: DeserializeOwned>(bytes: &[u8]) -> Option<T>
Expand description

Try to deserialize bytes, returning None on failure.