[][src]Struct signatory_ledger_tm::Ed25519LedgerTmAppSigner

pub struct Ed25519LedgerTmAppSigner { /* fields omitted */ }

ed25519 signature provider for the Ledger Tendermint Validator app

Methods

impl Ed25519LedgerTmAppSigner[src]

pub fn connect() -> Result<Self, Error>[src]

Create a new Ed25519 signer based on Ledger Nano S - Tendermint Validator app

Trait Implementations

impl PublicKeyed<PublicKey> for Ed25519LedgerTmAppSigner[src]

fn public_key(&self) -> Result<PublicKey, Error>[src]

Returns the public key that corresponds to the Tendermint Validator app connected to this signer

impl Signer<Signature> for Ed25519LedgerTmAppSigner[src]

fn try_sign(&self, msg: &[u8]) -> Result<Signature, Error>[src]

c: Compute a compact, fixed-sized signature of the given amino/json vote

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self