Type Alias ruva::FutureResult

source ·
pub type FutureResult<E> = Result<Pin<Box<dyn Future<Output = Result<(), E>> + Send>>, E>;

Aliased Type§

enum FutureResult<E> {
    Ok(Pin<Box<dyn Future<Output = Result<(), E>> + Send>>),
    Err(E),
}

Variants§

§1.0.0

Ok(Pin<Box<dyn Future<Output = Result<(), E>> + Send>>)

Contains the success value

§1.0.0

Err(E)

Contains the error value