Type Alias AsyncResult

Source
pub type AsyncResult<T = ()> = Result<T, AsyncError>;
Expand description

A type alias for a Result with the error type AsyncError.

Aliased Type§

pub enum AsyncResult<T = ()> {
    Ok(T),
    Err(AsyncError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(AsyncError)

Contains the error value