sp_runtime

Type Alias ApplyExtrinsicResultWithInfo

source
pub type ApplyExtrinsicResultWithInfo<T> = Result<DispatchResultWithInfo<T>, TransactionValidityError>;
Expand description

Same as ApplyExtrinsicResult but augmented with PostDispatchInfo on success.

Aliased Type§

enum ApplyExtrinsicResultWithInfo<T> {
    Ok(Result<T, DispatchErrorWithPostInfo<T>>),
    Err(TransactionValidityError),
}

Variants§

§1.0.0

Ok(Result<T, DispatchErrorWithPostInfo<T>>)

Contains the success value

§1.0.0

Err(TransactionValidityError)

Contains the error value