pub trait PreImageOracleT {
    // Required methods
    fn get_preimage(&mut self, key: [u8; 32]) -> Preimage;
    fn hint(&mut self, hint: Hint);
}

Required Methods§

source

fn get_preimage(&mut self, key: [u8; 32]) -> Preimage

source

fn hint(&mut self, hint: Hint)

Trait Implementations§

source§

impl PreImageOracleT for Box<dyn PreImageOracleT>

source§

fn get_preimage(&mut self, key: [u8; 32]) -> Preimage

source§

fn hint(&mut self, hint: Hint)

Implementations on Foreign Types§

source§

impl PreImageOracleT for Box<dyn PreImageOracleT>

source§

fn get_preimage(&mut self, key: [u8; 32]) -> Preimage

source§

fn hint(&mut self, hint: Hint)

Implementors§