Enum chain_impl_mockchain::ledger::ledger::Block0Error
source · pub enum Block0Error {
Show 28 variants
TransactionHasInput,
CertTransactionHasInput,
CertTransactionHasOutput,
TransactionHasWitnesses,
InitialMessageMissing,
InitialMessageMany,
InitialMessageDuplicateBlock0Date,
InitialMessageDuplicateDiscrimination,
InitialMessageDuplicateConsensusVersion,
InitialMessageDuplicateSlotDuration,
InitialMessageDuplicateEpochStabilityDepth,
InitialMessageDuplicatePraosActiveSlotsCoeff,
InitialMessageNoDate,
InitialMessageNoSlotDuration,
InitialMessageNoSlotsPerEpoch,
InitialMessageNoDiscrimination,
InitialMessageNoConsensusVersion,
InitialMessageNoConsensusLeaderId,
InitialMessageNoPraosActiveSlotsCoeff,
InitialMessageNoKesUpdateSpeed,
UtxoTotalValueTooBig,
HasOwnerStakeDelegation,
HasUpdateProposal,
HasUpdateVote,
HasPoolManagement,
HasVoteCast,
HasVoteTally,
HasEvmMapping,
}
Variants§
TransactionHasInput
CertTransactionHasInput
CertTransactionHasOutput
TransactionHasWitnesses
InitialMessageMissing
InitialMessageMany
InitialMessageDuplicateBlock0Date
InitialMessageDuplicateDiscrimination
InitialMessageDuplicateConsensusVersion
InitialMessageDuplicateSlotDuration
InitialMessageDuplicateEpochStabilityDepth
InitialMessageDuplicatePraosActiveSlotsCoeff
InitialMessageNoDate
InitialMessageNoSlotDuration
InitialMessageNoSlotsPerEpoch
InitialMessageNoDiscrimination
InitialMessageNoConsensusVersion
InitialMessageNoConsensusLeaderId
InitialMessageNoPraosActiveSlotsCoeff
InitialMessageNoKesUpdateSpeed
UtxoTotalValueTooBig
HasOwnerStakeDelegation
HasUpdateProposal
HasUpdateVote
HasPoolManagement
HasVoteCast
HasVoteTally
HasEvmMapping
Trait Implementations§
source§impl Clone for Block0Error
impl Clone for Block0Error
source§fn clone(&self) -> Block0Error
fn clone(&self) -> Block0Error
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 Block0Error
impl Debug for Block0Error
source§impl Display for Block0Error
impl Display for Block0Error
source§impl Error for Block0Error
impl Error for Block0Error
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Block0Error> for Error
impl From<Block0Error> for Error
source§fn from(source: Block0Error) -> Self
fn from(source: Block0Error) -> Self
Converts to this type from the input type.
source§impl PartialEq<Block0Error> for Block0Error
impl PartialEq<Block0Error> for Block0Error
source§fn eq(&self, other: &Block0Error) -> bool
fn eq(&self, other: &Block0Error) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for Block0Error
impl StructuralEq for Block0Error
impl StructuralPartialEq for Block0Error
Auto Trait Implementations§
impl RefUnwindSafe for Block0Error
impl Send for Block0Error
impl Sync for Block0Error
impl Unpin for Block0Error
impl UnwindSafe for Block0Error
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