APIResult

Type Alias APIResult 

Source
pub type APIResult<O, E> = Result<O, Error<E>>;
Expand description

The result type returned by API calls.

Aliased Type§

pub enum APIResult<O, E> {
    Ok(O),
    Err(Error<E>),
}

Variants§

§1.0.0

Ok(O)

Contains the success value

§1.0.0

Err(Error<E>)

Contains the error value