Enum bridgetree::BridgeTreeError
source · pub enum BridgeTreeError {
IncorrectIncompleteIndex,
InvalidMarkIndex(usize),
PositionMismatch {
expected: Position,
found: Position,
},
InvalidSavePoints,
Discontinuity(ContinuityError),
CheckpointMismatch,
}
Expand description
Errors that can appear when validating the internal consistency of a [BridgeTree]
value when constructing a tree from its constituent parts.
Variants§
IncorrectIncompleteIndex
InvalidMarkIndex(usize)
PositionMismatch
InvalidSavePoints
Discontinuity(ContinuityError)
CheckpointMismatch
Trait Implementations§
source§impl Clone for BridgeTreeError
impl Clone for BridgeTreeError
source§fn clone(&self) -> BridgeTreeError
fn clone(&self) -> BridgeTreeError
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 BridgeTreeError
impl Debug for BridgeTreeError
source§impl PartialEq<BridgeTreeError> for BridgeTreeError
impl PartialEq<BridgeTreeError> for BridgeTreeError
source§fn eq(&self, other: &BridgeTreeError) -> bool
fn eq(&self, other: &BridgeTreeError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.