Enum ruma_identifiers::DeviceKeyAlgorithm [−][src]
#[non_exhaustive] pub enum DeviceKeyAlgorithm { Ed25519, Curve25519, SignedCurve25519, // some variants omitted }
Expand description
The basic key algorithms in the specification.
This type can hold an arbitrary string. To check for algorithms that are not available as a
documented variant here, use its string representation, obtained through .as_str()
.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
The Ed25519 signature algorithm.
The Curve25519 ECDH algorithm.
The Curve25519 ECDH algorithm, but the key also contains signatures
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for DeviceKeyAlgorithm
impl Send for DeviceKeyAlgorithm
impl Sync for DeviceKeyAlgorithm
impl Unpin for DeviceKeyAlgorithm
impl UnwindSafe for DeviceKeyAlgorithm
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V