[][src]Enum tendermint::private_key::PrivateKey

pub enum PrivateKey {

Private keys as parsed from configuration files


Ed25519 keys


impl PrivateKey[src]

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

Get the public key associated with this private key

pub fn ed25519_keypair(&self) -> Option<&Ed25519Keypair>[src]

If applicable, borrow the Ed25519 keypair

Trait Implementations

impl Serialize for PrivateKey[src]

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

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 

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

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

impl<T> Typeable for T where
    T: Any