Type Alias core_crypto::CryptoResult

source ·
pub type CryptoResult<T> = Result<T, CryptoError>;
Expand description

A simpler definition for Result types that the Error is a CryptoError

Aliased Type§

enum CryptoResult<T> {
    Ok(T),
    Err(CryptoError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(CryptoError)

Contains the error value