pub enum ConsistencyFailure {
MissingParentBlock,
ChainLength,
BlockInfo,
TaggedBlock,
MissingPermanentBlock,
}
Variants§
Trait Implementations§
source§impl Debug for ConsistencyFailure
impl Debug for ConsistencyFailure
source§impl Display for ConsistencyFailure
impl Display for ConsistencyFailure
source§impl Error for ConsistencyFailure
impl Error for ConsistencyFailure
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<ConsistencyFailure> for ConflictableTransactionError<Error>
impl From<ConsistencyFailure> for ConflictableTransactionError<Error>
source§fn from(from: ConsistencyFailure) -> Self
fn from(from: ConsistencyFailure) -> Self
Converts to this type from the input type.
source§impl From<ConsistencyFailure> for Error
impl From<ConsistencyFailure> for Error
source§fn from(source: ConsistencyFailure) -> Self
fn from(source: ConsistencyFailure) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for ConsistencyFailure
impl Send for ConsistencyFailure
impl Sync for ConsistencyFailure
impl Unpin for ConsistencyFailure
impl UnwindSafe for ConsistencyFailure
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