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

Trait Implementations§

source§

impl<'de, T, E> Deserialize<'de> for Result<T, E>where T: Deserialize<'de>, E: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D ) -> Result<Result<T, E>, <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<T, E> Serialize for Result<T, E>where T: Serialize, E: Serialize,

source§

fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,

Serialize this value into the given Serde serializer. Read more