Skip to main content

LegacyServiceResult

Type Alias LegacyServiceResult 

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

Compatibility type for legacy ServiceError usage

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(ServiceError)

Contains the error value