Enum ckb_index::IndexError [−][src]
pub enum IndexError {
BlockImmature(u64),
IllegalBlock(Byte32),
InvalidBlockNumber(u64),
NotInit,
IoError(String),
InvalidGenesis(String),
InvalidNetworkType(String),
LongFork,
}
Variants
BlockImmature(u64)
Tuple Fields of BlockImmature
0: u64
IllegalBlock(Byte32)
Tuple Fields of IllegalBlock
0: Byte32
InvalidBlockNumber(u64)
Tuple Fields of InvalidBlockNumber
0: u64
IoError(String)
Tuple Fields of IoError
0: String
InvalidGenesis(String)
Tuple Fields of InvalidGenesis
0: String
InvalidNetworkType(String)
Tuple Fields of InvalidNetworkType
0: String
Trait Implementations
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for IndexError
impl Send for IndexError
impl Sync for IndexError
impl Unpin for IndexError
impl UnwindSafe for IndexError
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more