pub trait ExtensionPostDispatchWeightHandler<DispatchInfo>: RefundWeight {
// Required method
fn set_extension_weight(&mut self, info: &DispatchInfo);
}
Expand description
A type that can handle weight refunds and incorporate extension weights into the call weight after dispatch.
Required Methods§
fn set_extension_weight(&mut self, info: &DispatchInfo)
fn set_extension_weight(&mut self, info: &DispatchInfo)
Accrue some weight pertaining to the extension.