pub type DispatchResult = Result<(), DispatchError>;
Un-augmented version of
DispatchResultWithPostInfo that can be returned from
dispatchable functions and is automatically converted to the augmented type. Should be
used whenever the
PostDispatchInfo does not need to be overwritten. As this should
be the common case it is the implicit return type when none is specified.