referrerpolicy=no-referrer-when-downgrade

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§

§1.0.0

Ok(PostDispatchInfo)

Contains the success value

§1.0.0

Err(DispatchErrorWithPostInfo<PostDispatchInfo>)

Contains the error value