#[non_exhaustive]pub enum BacktrackingError {
AtLeaf,
ChoiceOutOfRange,
DeltaOutOfRange,
NotLeaf,
AlreadyVisited,
AtRoot,
}Expand description
A disabled BacktrackingTraversal transition.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
AtLeaf
Descent is disabled at a full-depth leaf.
ChoiceOutOfRange
The branch choice is outside the admitted branch set.
DeltaOutOfRange
The mutation delta is outside the required inverse-pair domain.
NotLeaf
Visit requires a full-depth leaf.
AlreadyVisited
The current leaf was already recorded.
AtRoot
Ascent is disabled at the root.
Trait Implementations§
Source§impl Clone for BacktrackingError
impl Clone for BacktrackingError
Source§fn clone(&self) -> BacktrackingError
fn clone(&self) -> BacktrackingError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BacktrackingError
Source§impl Debug for BacktrackingError
impl Debug for BacktrackingError
Source§impl Display for BacktrackingError
impl Display for BacktrackingError
impl Eq for BacktrackingError
Source§impl Error for BacktrackingError
impl Error for BacktrackingError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for BacktrackingError
impl PartialEq for BacktrackingError
impl StructuralPartialEq for BacktrackingError
Auto Trait Implementations§
impl Freeze for BacktrackingError
impl RefUnwindSafe for BacktrackingError
impl Send for BacktrackingError
impl Sync for BacktrackingError
impl Unpin for BacktrackingError
impl UnsafeUnpin for BacktrackingError
impl UnwindSafe for BacktrackingError
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