Enum matrix_sdk_crypto::Verification [−][src]
pub enum Verification { SasV1(Sas), QrV1(QrVerification), }
Expand description
An enum over the different verification types the SDK supports.
Variants
SasV1(Sas)
The m.sas.v1
verification variant.
QrV1(QrVerification)
The m.qr_code.*.v1
verification variant.
Implementations
Try to deconstruct this verification enum into a SAS verification.
Try to deconstruct this verification enum into a QR code verification.
Has the verification been cancelled.
Get our own user id that is participating in this verification.
Get the other user id that is participating in this verification.
Is this a verification verifying a device that belongs to us.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Verification
impl Send for Verification
impl Sync for Verification
impl Unpin for Verification
impl !UnwindSafe for Verification
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self