Trait oasis_runtime_sdk::module::Parameters

source ·
pub trait Parameters: Debug + Default + Encode + Decode {
    type Error;

    const STORE_KEY: &'static [u8] = _;

    // Provided method
    fn validate_basic(&self) -> Result<(), Self::Error> { ... }
}
Expand description

Parameters for a runtime module.

Required Associated Types§

Provided Associated Constants§

source

const STORE_KEY: &'static [u8] = _

Store key used for storing parameters.

Provided Methods§

source

fn validate_basic(&self) -> Result<(), Self::Error>

Perform basic parameter validation.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Parameters for ()

Implementors§

source§

impl Parameters for oasis_runtime_sdk::modules::accounts::Parameters

source§

impl Parameters for oasis_runtime_sdk::modules::consensus::Parameters

source§

impl Parameters for oasis_runtime_sdk::modules::consensus_accounts::Parameters

§

type Error = ()

source§

impl Parameters for oasis_runtime_sdk::modules::core::Parameters

source§

impl Parameters for oasis_runtime_sdk::modules::rewards::Parameters

source§

impl Parameters for oasis_runtime_sdk::modules::rofl::Parameters