pub trait ExtParamTranslator<PArg, QArg, E>where
    PArg: ExtParam,
    QArg: ExtParam,{
    // Required method
    fn ext(&mut self, e: &PArg) -> Result<QArg, E>;
}
Expand description

Trait for translating different parameter types for covenant extensions

Required Methods§

source

fn ext(&mut self, e: &PArg) -> Result<QArg, E>

Translates one extension to another

Implementors§