Enum tendermint_machine::SlashEvent
source · pub enum SlashEvent {
Id(SlashReason, u64, u32),
WithEvidence(Evidence),
}
Variants§
Trait Implementations§
source§impl Clone for SlashEvent
impl Clone for SlashEvent
source§fn clone(&self) -> SlashEvent
fn clone(&self) -> SlashEvent
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 SlashEvent
impl Debug for SlashEvent
source§impl PartialEq for SlashEvent
impl PartialEq for SlashEvent
source§fn eq(&self, other: &SlashEvent) -> bool
fn eq(&self, other: &SlashEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SlashEvent
impl StructuralPartialEq for SlashEvent
Auto Trait Implementations§
impl Freeze for SlashEvent
impl RefUnwindSafe for SlashEvent
impl Send for SlashEvent
impl Sync for SlashEvent
impl Unpin for SlashEvent
impl UnwindSafe for SlashEvent
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)