Type Alias http_srv::Result

source ·
pub type Result<T> = Result<T, ServerError>;
Expand description

Result type for the http_srv crate

It serves as a shortcut for an std::result::Result<T,ServerError>

Aliased Type§

enum Result<T> {
    Ok(T),
    Err(ServerError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(ServerError)

Contains the error value