SignerBuilderTrait

Trait SignerBuilderTrait 

Source
pub trait SignerBuilderTrait<State>: Send {
    type Signer: Component;

    // Required method
    fn build_signer(
        self,
        ctx: &BuilderContext<State>,
    ) -> impl Future<Output = Result<Self::Signer>> + Send;
}
Expand description

Builder for transaction signing components

Required Associated Types§

Source

type Signer: Component

The signer component type

Required Methods§

Source

fn build_signer( self, ctx: &BuilderContext<State>, ) -> impl Future<Output = Result<Self::Signer>> + Send

Build the signer component

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§