Enum ckb_types::core::error::OutPointError [−][src]
pub enum OutPointError {
Dead(OutPoint),
Unknown(OutPoint),
OutOfOrder(OutPoint),
InvalidDepGroup(OutPoint),
InvalidHeader(Byte32),
ImmatureHeader(Byte32),
OverMaxDepExpansionLimit {
ban: bool,
},
}
Expand description
Errors due to the fact that the out-point rules are not respected.
Variants
Dead(OutPoint)
The target cell was already dead.
Tuple Fields of Dead
0: OutPoint
Unknown(OutPoint)
There are cells which is unknown to the canonical chain.
Tuple Fields of Unknown
0: OutPoint
OutOfOrder(OutPoint)
There is an input out-point or dependency out-point which references a newer cell in the same block.
Tuple Fields of OutOfOrder
0: OutPoint
InvalidDepGroup(OutPoint)
There is a dependency out-point, which is DepGroup
, but its output-data is invalid format. The expected output-data format for DepGroup
is OutPointVec
.
Tuple Fields of InvalidDepGroup
0: OutPoint
InvalidHeader(Byte32)
There is a dependency header that is unknown to the canonical chain.
Tuple Fields of InvalidHeader
0: Byte32
ImmatureHeader(Byte32)
There is a dependency header that is immature yet.
Tuple Fields of ImmatureHeader
0: Byte32
Over max dep expansion limit.
Fields of OverMaxDepExpansionLimit
ban: bool
If ban nodes for this error.
Implementations
Returns true if the error is an unknown out_point.
Trait Implementations
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 OutPointError
impl Send for OutPointError
impl Sync for OutPointError
impl Unpin for OutPointError
impl UnwindSafe for OutPointError
Blanket Implementations
Mutably borrows from an owned value. Read more