matrix_sdk_base::deserialized_responses

Function deserialize_utd_reason

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

Provides basic backward compatibility for deserializing older serialized UnableToDecryptReason values.