fuel_core_interfaces::signer

Trait Signer

Source
pub trait Signer {
    // Required method
    fn sign<'life0, 'life1, 'async_trait>(
        &'life0 self,
        hash: &'life1 Bytes32,
    ) -> Pin<Box<dyn Future<Output = Result<Bytes32, SignerError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}
Expand description

Dummy signer that will be removed in next pull request. TODO: Do not use.

Required Methods§

Source

fn sign<'life0, 'life1, 'async_trait>( &'life0 self, hash: &'life1 Bytes32, ) -> Pin<Box<dyn Future<Output = Result<Bytes32, SignerError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§