[−][src]Struct tendermint::private_key::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 Drop for Ed25519Keypair
[src]
impl<'a> From<&'a Ed25519Keypair> for Seed
[src]
fn from(keypair: &'a Ed25519Keypair) -> Seed
[src]
impl Zeroize for Ed25519Keypair
[src]
impl Serialize for Ed25519Keypair
[src]
impl<'de> Deserialize<'de> for Ed25519Keypair
[src]
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
[src]
Auto Trait Implementations
impl Send for Ed25519Keypair
impl Sync for Ed25519Keypair
impl Unpin for Ed25519Keypair
impl UnwindSafe for Ed25519Keypair
impl RefUnwindSafe for Ed25519Keypair
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<Z> Zeroize for Z where
Z: DefaultIsZeroes,
[src]
Z: DefaultIsZeroes,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> Typeable for T where
T: Any,
T: Any,