pub enum ProtocolMessagePartKey {
SnapshotDigest,
CardanoTransactionsMerkleRoot,
NextAggregateVerificationKey,
NextProtocolParameters,
CurrentEpoch,
LatestBlockNumber,
CardanoStakeDistributionEpoch,
CardanoStakeDistributionMerkleRoot,
CardanoDatabaseMerkleRoot,
}
Expand description
The key of a ProtocolMessage
Variants§
SnapshotDigest
The ProtocolMessage part key associated to the Snapshot Digest
CardanoTransactionsMerkleRoot
The ProtocolMessage part key associated to the Cardano Transactions Merkle Root
NextAggregateVerificationKey
The ProtocolMessage part key associated to the Next epoch aggregate verification key
The AVK that will be allowed to be used to sign during the next epoch aka AVK(n-1)
NextProtocolParameters
The ProtocolMessage part key associated to the Next epoch protocol parameters
The protocol parameters that will be allowed to be used to sign during the next epoch aka PPARAMS(n-1)
CurrentEpoch
The ProtocolMessage part key associated to the current epoch
aka EPOCH(n)
LatestBlockNumber
The ProtocolMessage part key associated to the latest block number signed
CardanoStakeDistributionEpoch
The ProtocolMessage part key associated to the epoch for which the Cardano stake distribution is computed
CardanoStakeDistributionMerkleRoot
The ProtocolMessage part key associated to the Cardano stake distribution Merkle root
CardanoDatabaseMerkleRoot
The ProtocolMessage part key associated to the Cardano database Merkle root
Trait Implementations§
source§impl Clone for ProtocolMessagePartKey
impl Clone for ProtocolMessagePartKey
source§fn clone(&self) -> ProtocolMessagePartKey
fn clone(&self) -> ProtocolMessagePartKey
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ProtocolMessagePartKey
impl Debug for ProtocolMessagePartKey
source§impl<'de> Deserialize<'de> for ProtocolMessagePartKey
impl<'de> Deserialize<'de> for ProtocolMessagePartKey
source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ProtocolMessagePartKey, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ProtocolMessagePartKey, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
source§impl Display for ProtocolMessagePartKey
impl Display for ProtocolMessagePartKey
source§impl Ord for ProtocolMessagePartKey
impl Ord for ProtocolMessagePartKey
source§fn cmp(&self, other: &ProtocolMessagePartKey) -> Ordering
fn cmp(&self, other: &ProtocolMessagePartKey) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for ProtocolMessagePartKey
impl PartialEq for ProtocolMessagePartKey
source§impl PartialOrd for ProtocolMessagePartKey
impl PartialOrd for ProtocolMessagePartKey
source§impl Serialize for ProtocolMessagePartKey
impl Serialize for ProtocolMessagePartKey
source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl Copy for ProtocolMessagePartKey
impl Eq for ProtocolMessagePartKey
impl StructuralPartialEq for ProtocolMessagePartKey
Auto Trait Implementations§
impl Freeze for ProtocolMessagePartKey
impl RefUnwindSafe for ProtocolMessagePartKey
impl Send for ProtocolMessagePartKey
impl Sync for ProtocolMessagePartKey
impl Unpin for ProtocolMessagePartKey
impl UnwindSafe for ProtocolMessagePartKey
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more