Type Alias gclient::ext::sp_runtime::DispatchResultWithInfo
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§
Ok(T)
Contains the success value
Err(DispatchErrorWithPostInfo<T>)
Contains the error value