ciborium::de

Function from_reader

Source
pub fn from_reader<'de, T: Deserialize<'de>, R: Read>(
    reader: R,
) -> Result<T, Error<R::Error>>
where R::Error: Debug,
Expand description

Deserializes as CBOR from a type with impl ciborium_io::Read