Skip to main content

DispatchResult

Type Alias DispatchResult 

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

Result type for operation dispatch.

Aliased Type§

pub enum DispatchResult<T> {
    Ok(T),
    Err(DispatchError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(DispatchError)

Contains the error value