sp_domains_fraud_proof::storage_proof

Trait FraudProofStorageKeyProvider

source
pub trait FraudProofStorageKeyProvider<Number> {
    // Required method
    fn storage_key(req: FraudProofStorageKeyRequest<Number>) -> Vec<u8> ;
}
Expand description

Trait to get storage keys in the runtime i.e. when verifying the storage proof

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.

Implementations on Foreign Types§

source§

impl<Number> FraudProofStorageKeyProvider<Number> for ()

Implementors§