zino_axum

Type Alias Result

Source
pub type Result<T = AxumResponse> = Result<T, AxumRejection>;
Expand description

A specialized Result type.

Aliased Type§

enum Result<T = AxumResponse> {
    Ok(T),
    Err(AxumRejection),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(AxumRejection)

Contains the error value