pub trait BenchmarkHelper<CollectionId, ItemId, Public, AccountId, Signature> {
// Required methods
fn collection(i: u16) -> CollectionId;
fn item(i: u16) -> ItemId;
fn signer() -> (Public, AccountId);
fn sign(signer: &Public, message: &[u8]) -> Signature;
}Required Methods§
fn collection(i: u16) -> CollectionId
fn item(i: u16) -> ItemId
fn signer() -> (Public, AccountId)
fn sign(signer: &Public, message: &[u8]) -> Signature
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.
Implementations on Foreign Types§
Source§impl<CollectionId, ItemId> BenchmarkHelper<CollectionId, ItemId, MultiSigner, AccountId32, MultiSignature> for ()
Available on crate feature runtime-benchmarks only.
impl<CollectionId, ItemId> BenchmarkHelper<CollectionId, ItemId, MultiSigner, AccountId32, MultiSignature> for ()
Available on crate feature
runtime-benchmarks only.