surf

Type Alias Result

Source
pub type Result<T = Response> = Result<T, Error>;
Expand description

A specialized Result type for Surf.

Aliased Type§

enum Result<T = Response> {
    Ok(T),
    Err(Error),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Error)

Contains the error value