[][src]Struct tendermint::private_key::Ed25519Keypair

pub struct Ed25519Keypair(_);

Ed25519 keypairs

Methods

impl Ed25519Keypair[src]

pub fn public_key(&self) -> PublicKey[src]

Get the public key associated with this keypair

pub fn to_seed(&self) -> Seed[src]

Get the Signatory Ed25519 "seed" for this signer

pub fn to_signer(&self) -> Ed25519Signer[src]

Get a Signatory Ed25519 signer (ed25519-dalek based)

Trait Implementations

impl<'de> Deserialize<'de> for Ed25519Keypair[src]

impl Drop for Ed25519Keypair[src]

impl<'a> From<&'a Ed25519Keypair> for Seed[src]

impl Serialize for Ed25519Keypair[src]

impl Zeroize for Ed25519Keypair[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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<Z> Zeroize for Z where
    Z: DefaultIsZeroes
[src]