Trait Signer

Source
pub trait Signer {
    // Required methods
    fn sign(&self, msg: &str) -> Result<Signature, Box<dyn Error>>;
    fn signer(&self) -> String;
}

Required Methods§

Source

fn sign(&self, msg: &str) -> Result<Signature, Box<dyn Error>>

Source

fn signer(&self) -> String

Implementors§