Skip to main content

VectorSigner

Trait VectorSigner 

Source
pub trait VectorSigner:
    AsyncGetPublicKey<Error = SignerError>
    + AsyncSignEvent<Error = SignerError>
    + AsyncNip04<Error = SignerError>
    + AsyncNip44<Error = SignerError> { }
Expand description

Every capability Vector’s polymorphic signing paths need, in one bound.

Pinning Error = SignerError is what makes the bundle usable as a single bound; it’s viable because the concrete-Keys paths have their own non-generic overloads (build_list_event vs build_list_event_signed), so bare Keys is never passed here.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§