referrerpolicy=no-referrer-when-downgrade

Type Alias sp_runtime::DispatchResultWithInfo

source ·
pub type DispatchResultWithInfo<T> = Result<T, DispatchErrorWithPostInfo<T>>;
Expand description

Return type of a Dispatchable which contains the DispatchResult and additional information about the Dispatchable that is only known post dispatch.

Aliased Type§

enum DispatchResultWithInfo<T> {
    Ok(T),
    Err(DispatchErrorWithPostInfo<T>),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(DispatchErrorWithPostInfo<T>)

Contains the error value