zino_actix

Type Alias Result

Source
pub type Result<T = ActixResponse> = Result<T, ActixRejection>;
Expand description

A specialized Result type.

Aliased Type§

enum Result<T = ActixResponse> {
    Ok(T),
    Err(ActixRejection),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(ActixRejection)

Contains the error value