pub enum SlashingReason {
InvalidBatchEncoding,
StatelessVerificationFailed,
InvalidTransactionEncoding,
}Variants§
Trait Implementations§
source§impl Clone for SlashingReason
impl Clone for SlashingReason
source§fn clone(&self) -> SlashingReason
fn clone(&self) -> SlashingReason
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 SlashingReason
impl Debug for SlashingReason
source§impl<'de> Deserialize<'de> for SlashingReason
impl<'de> Deserialize<'de> for SlashingReason
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 PartialEq<SlashingReason> for SlashingReason
impl PartialEq<SlashingReason> for SlashingReason
source§fn eq(&self, other: &SlashingReason) -> bool
fn eq(&self, other: &SlashingReason) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for SlashingReason
impl Serialize for SlashingReason
impl Copy for SlashingReason
impl Eq for SlashingReason
impl StructuralEq for SlashingReason
impl StructuralPartialEq for SlashingReason
Auto Trait Implementations§
impl RefUnwindSafe for SlashingReason
impl Send for SlashingReason
impl Sync for SlashingReason
impl Unpin for SlashingReason
impl UnwindSafe for SlashingReason
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