Type Alias frame_support::dispatch::DispatchResultWithPostInfo
source · pub type DispatchResultWithPostInfo = DispatchResultWithInfo<PostDispatchInfo>;
Expand description
The return type of a Dispatchable
in frame. When returned explicitly from
a dispatchable function it allows overriding the default PostDispatchInfo
returned from a dispatch.
Aliased Type§
enum DispatchResultWithPostInfo {
Ok(PostDispatchInfo),
Err(DispatchErrorWithPostInfo<PostDispatchInfo>),
}
Variants§
Ok(PostDispatchInfo)
Contains the success value
Err(DispatchErrorWithPostInfo<PostDispatchInfo>)
Contains the error value