Trait MapAuth

Source
pub trait MapAuth<A: Authorization, B: Authorization> {
    // Required methods
    fn map_script_sig(&self, s: A::ScriptSig) -> B::ScriptSig;
    fn map_authorization(&self, s: A) -> B;
}

Required Methods§

Source

fn map_script_sig(&self, s: A::ScriptSig) -> B::ScriptSig

Source

fn map_authorization(&self, s: A) -> B

Implementations on Foreign Types§

Source§

impl MapAuth<Authorized, Authorized> for ()

The identity map.

Implementors§