Skip to main content

ServiceResult

Type Alias ServiceResult 

Source
pub(crate) type ServiceResult<T, HalError> = Result<T, CryptoServiceError<HalError>>;
Expand description

Convenience alias for the service’s result type.

Aliased Type§

pub(crate) enum ServiceResult<T, HalError> {
    Ok(T),
    Err(CryptoServiceError<HalError>),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(CryptoServiceError<HalError>)

Contains the error value