Enum chain_impl_mockchain::vote::tally::PrivateTallyState
source · pub enum PrivateTallyState {
Encrypted {
encrypted_tally: EncryptedTally,
},
Decrypted {
result: TallyResult,
},
}
Variants§
Trait Implementations§
source§impl Clone for PrivateTallyState
impl Clone for PrivateTallyState
source§fn clone(&self) -> PrivateTallyState
fn clone(&self) -> PrivateTallyState
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 Debug for PrivateTallyState
impl Debug for PrivateTallyState
source§impl PartialEq<PrivateTallyState> for PrivateTallyState
impl PartialEq<PrivateTallyState> for PrivateTallyState
source§fn eq(&self, other: &PrivateTallyState) -> bool
fn eq(&self, other: &PrivateTallyState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PrivateTallyState
impl StructuralEq for PrivateTallyState
impl StructuralPartialEq for PrivateTallyState
Auto Trait Implementations§
impl RefUnwindSafe for PrivateTallyState
impl Send for PrivateTallyState
impl Sync for PrivateTallyState
impl Unpin for PrivateTallyState
impl UnwindSafe for PrivateTallyState
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