Trait oasis_runtime_sdk::subcall::Validator

source ·
pub trait Validator {
    // Required method
    fn validate(&self, info: &SubcallInfo) -> Result<(), Error>;
}
Expand description

Subcall validator.

Required Methods§

source

fn validate(&self, info: &SubcallInfo) -> Result<(), Error>

Validate a subcall before it is performed.

Implementors§