Enum exocore_chain::chain::error::Error [−][src]
pub enum Error { Block(Error), UnexpectedState(Error), Integrity(Error), InvalidNextBlock { offset: BlockOffset, expected_offset: BlockOffset, }, Serialization(Error), OutOfBound(Error), Io(Error, String), DirectoryError(DirectoryError), Poisoned, Other(Error), }
Variants
Tuple Fields of Block
0: Error
Tuple Fields of UnexpectedState
0: Error
Tuple Fields of Integrity
0: Error
Fields of InvalidNextBlock
offset: BlockOffset
expected_offset: BlockOffset
Tuple Fields of OutOfBound
0: Error
Tuple Fields of DirectoryError
Tuple Fields of Other
0: Error
Implementations
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self