pub trait RemarkDispatchHandler<T> {
    // Required methods
    fn pre_dispatch_check(t: T) -> DispatchResult;
    fn post_dispatch_check(t: T) -> DispatchResult;
}
Expand description

The handler used to check remarks before and after call dispatch.

Required Methods§

source

fn pre_dispatch_check(t: T) -> DispatchResult

source

fn post_dispatch_check(t: T) -> DispatchResult

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> RemarkDispatchHandler<(<T as Config>::RuntimeOrigin, BoundedVec<<T as Config>::Remark, <T as Config>::MaxRemarksPerCall>, Box<<T as Config>::RuntimeCall>)> for NoopRemarkDispatchHandler<T>
where T: Config,