[−][src]Enum tendermint::public_keys::ConsensusKey
Validator signing keys used for authenticating consensus protocol messages
Variants
Ed25519(PublicKey)
Ed25519 consensus keys
Methods
impl ConsensusKey
[src]
impl ConsensusKey
pub fn from_raw_ed25519(bytes: &[u8]) -> Result<ConsensusKey, Error> | [src] |
From raw Ed25519 public key bytes
pub fn ed25519(self) -> Option<PublicKey> | [src] |
Get Ed25519 public key
Trait Implementations
impl From<PublicKey> for ConsensusKey
[src]
impl From<PublicKey> for ConsensusKey
fn from(pk: PublicKey) -> ConsensusKey | [src] |
impl Eq for ConsensusKey
[src]
impl Eq for ConsensusKey
impl Copy for ConsensusKey
[src]
impl Copy for ConsensusKey
impl PartialEq<ConsensusKey> for ConsensusKey
[src]
impl PartialEq<ConsensusKey> for ConsensusKey
fn eq(&self, other: &ConsensusKey) -> bool | [src] |
fn ne(&self, other: &ConsensusKey) -> bool | [src] |
impl Clone for ConsensusKey
[src]
impl Clone for ConsensusKey
fn clone(&self) -> ConsensusKey | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
Performs copy-assignment from source
. Read more
impl Debug for ConsensusKey
[src]
impl Debug for ConsensusKey
impl Display for ConsensusKey
[src]
impl Display for ConsensusKey
impl Hash for ConsensusKey
[src]
impl Hash for ConsensusKey
Auto Trait Implementations
impl Send for ConsensusKey
impl Send for ConsensusKey
impl Sync for ConsensusKey
impl Sync for ConsensusKey
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
impl<T> ToString for T where
T: Display + ?Sized,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)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> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |
impl<T> Same for T
impl<T> Same for T
type Output = T
Should always be Self