Type Alias Result

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

Convenience type for functions that return a T on success or a FetchError otherwise.

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(FetchError)

Contains the error value