pub enum BlockRejectReasonCode {
ValidationFailed {
validation_failed: BlockValidationFailedCode,
},
ConnectivityIssues,
RejectedInPriorRound,
NoSortitionView,
SortitionViewMismatch,
TestingDirective,
}Variants§
ValidationFailed
Fields
§
validation_failed: BlockValidationFailedCodeConnectivityIssues
RejectedInPriorRound
NoSortitionView
SortitionViewMismatch
TestingDirective
Trait Implementations§
Source§impl Clone for BlockRejectReasonCode
impl Clone for BlockRejectReasonCode
Source§fn clone(&self) -> BlockRejectReasonCode
fn clone(&self) -> BlockRejectReasonCode
Returns a duplicate 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 BlockRejectReasonCode
impl Debug for BlockRejectReasonCode
Source§impl<'de> Deserialize<'de> for BlockRejectReasonCode
impl<'de> Deserialize<'de> for BlockRejectReasonCode
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 for BlockRejectReasonCode
impl PartialEq for BlockRejectReasonCode
Source§impl Serialize for BlockRejectReasonCode
impl Serialize for BlockRejectReasonCode
impl StructuralPartialEq for BlockRejectReasonCode
Auto Trait Implementations§
impl Freeze for BlockRejectReasonCode
impl RefUnwindSafe for BlockRejectReasonCode
impl Send for BlockRejectReasonCode
impl Sync for BlockRejectReasonCode
impl Unpin for BlockRejectReasonCode
impl UnwindSafe for BlockRejectReasonCode
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