matrix_sdk::encryption::recovery

Type Alias Result

Source
pub type Result<A, E = RecoveryError> = Result<A, E>;
Available on crate feature e2e-encryption only.
Expand description

Result type alias for the Recovery subsystem.

Aliased Type§

enum Result<A, E = RecoveryError> {
    Ok(A),
    Err(E),
}

Variants§

§1.0.0

Ok(A)

Contains the success value

§1.0.0

Err(E)

Contains the error value