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 ==.impl Eq for BridgeTreeError
impl StructuralEq for BridgeTreeError
impl StructuralPartialEq for BridgeTreeError
Auto Trait Implementations§
impl RefUnwindSafe for BridgeTreeError
impl Send for BridgeTreeError
impl Sync for BridgeTreeError
impl Unpin for BridgeTreeError
impl UnwindSafe for BridgeTreeError
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