Enum ruma_common::encryption::OneTimeKey [−][src]
Expand description
A one-time public key for “pre-key” messages.
Variants
SignedKey(SignedKey)A key containing signatures, for the SignedCurve25519 algorithm.
Key(String)A string-valued key, for the Ed25519 and Curve25519 algorithms.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for OneTimeKeyimpl Send for OneTimeKeyimpl Sync for OneTimeKeyimpl Unpin for OneTimeKeyimpl UnwindSafe for OneTimeKeyBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more