matrix_sdk_common::deserialized_responses

Function deserialize_utd_reason

Source
pub fn deserialize_utd_reason<'de, D>(
    d: D,
) -> Result<UnableToDecryptReason, D::Error>
where D: Deserializer<'de>,
Expand description

Provides basic backward compatibility for deserializing older serialized UnableToDecryptReason values.