Function fil_actors_shared::v13::util::cbor::deserialize

source ยท
pub fn deserialize<O: DeserializeOwned>(
    v: &RawBytes,
    desc: &str,
) -> Result<O, ActorError>
Expand description

Deserialises CBOR-encoded bytes as a structure, returning a serialization error on failure. desc is a noun phrase for the object being deserialized, included in any error message.