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§
Ok(T)
Contains the success value
Err(DispatchErrorWithPostInfo<T>)
Contains the error value
Trait Implementations§
source§impl<'de, T, E> Deserialize<'de> for Result<T, E>where
T: Deserialize<'de>,
E: Deserialize<'de>,
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>,
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