matrix_sdk::encryption::secret_storage

Type Alias Result

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

Convenicence type alias for the secret-storage specific results.

Aliased Type§

enum Result<T, E = SecretStorageError> {
    Ok(T),
    Err(E),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(E)

Contains the error value