pub trait BatchCallUnpacker<Runtime: Config> {
// Required method
fn unpack(
call: &Runtime::RuntimeCall,
max_packed_calls: u32,
) -> Vec<&Runtime::RuntimeCall>;
}
Expand description
Something that can unpack batch calls (all-or-nothing flavor) of given size.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.