Type Alias ServiceResult

Source
pub type ServiceResult<T> = Result<T, ServiceError>;
Expand description

Service result type

Aliased Type§

pub enum ServiceResult<T> {
    Ok(T),
    Err(ServiceError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(ServiceError)

Contains the error value