Skip to main content

from_cbor

Function from_cbor 

Source
pub fn from_cbor<T>(bytes: &[u8]) -> Option<T>
where T: for<'d> Decode<'d, ()>,
Expand description

Decode raw bytes into a structured type T, assuming no context.