Struct mithril_stm::stm::StmAggrVerificationKey
source · pub struct StmAggrVerificationKey<D: Clone + Digest + FixedOutput> { /* private fields */ }
Expand description
Stm aggregate key (batch compatible), which contains the merkle tree commitment and the total stake of the system. Batch Compat Merkle tree commitment includes the number of leaves in the tree in order to obtain batch path.
Trait Implementations§
source§impl<D: Clone + Clone + Digest + FixedOutput> Clone for StmAggrVerificationKey<D>
impl<D: Clone + Clone + Digest + FixedOutput> Clone for StmAggrVerificationKey<D>
source§fn clone(&self) -> StmAggrVerificationKey<D>
fn clone(&self) -> StmAggrVerificationKey<D>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'de, D: Clone + Digest + FixedOutput> Deserialize<'de> for StmAggrVerificationKey<D>where
BatchPath<D>: Deserialize<'de>,
impl<'de, D: Clone + Digest + FixedOutput> Deserialize<'de> for StmAggrVerificationKey<D>where
BatchPath<D>: Deserialize<'de>,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<D: Clone + Digest + FixedOutput> From<&ClosedKeyReg<D>> for StmAggrVerificationKey<D>
impl<D: Clone + Digest + FixedOutput> From<&ClosedKeyReg<D>> for StmAggrVerificationKey<D>
source§fn from(reg: &ClosedKeyReg<D>) -> Self
fn from(reg: &ClosedKeyReg<D>) -> Self
Converts to this type from the input type.
source§impl<D: Digest + Clone + FixedOutput> PartialEq for StmAggrVerificationKey<D>
impl<D: Digest + Clone + FixedOutput> PartialEq for StmAggrVerificationKey<D>
source§impl<D: Clone + Digest + FixedOutput> Serialize for StmAggrVerificationKey<D>where
BatchPath<D>: Serialize,
impl<D: Clone + Digest + FixedOutput> Serialize for StmAggrVerificationKey<D>where
BatchPath<D>: Serialize,
impl<D: Digest + Clone + FixedOutput> Eq for StmAggrVerificationKey<D>
Auto Trait Implementations§
impl<D> Freeze for StmAggrVerificationKey<D>
impl<D> RefUnwindSafe for StmAggrVerificationKey<D>where
D: RefUnwindSafe,
impl<D> Send for StmAggrVerificationKey<D>where
D: Send,
impl<D> Sync for StmAggrVerificationKey<D>where
D: Sync,
impl<D> Unpin for StmAggrVerificationKey<D>where
D: Unpin,
impl<D> UnwindSafe for StmAggrVerificationKey<D>where
D: UnwindSafe,
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)