pub trait Signer: Sync + Send {
    fn public_key(&self) -> &PublicKey;
    fn sign<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        data: &'life1 [u8],
        sign_source: &'life2 SignatureSource
    ) -> Pin<Box<dyn Future<Output = BuckyResult<Signature>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; }

Required Methods

Trait Implementations

Implementations on Foreign Types

Implementors