Type Alias scsys_core::types::AsyncResult

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

Type alias for async results

Aliased Type§

enum AsyncResult<T = ()> {
    Ok(T),
    Err(Box<dyn Error + Sync + Send>),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Box<dyn Error + Sync + Send>)

Contains the error value