Type Alias CryptoResult

Source
pub type CryptoResult<T = ()> = Result<T, CryptoError>;
Expand description

a type alias for a Result type configured to use the CryptoError type

Aliased Type§

pub 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