pub enum Status {
Untested,
Success,
Failure,
Indeterminate,
}
Expand description
The possible statuses of a node in the search.
Variants§
Untested
The node has not been tested yet. This is the starting state for each node in a search.
Success
The node has been tested and satisfies some caller-defined predicate. For the rest of the search, it’s assumed that all ancestor nodes of this node also satisfy the predicate.
Failure
The node has been tested and does not satisfy some caller-defined predicate. For the rest of the search, it’s assumed that all descendant nodes of this node also do not satisfy the predicate.
Indeterminate
The node has been tested, but it is not known whether it satisfies some caller-defined predicate. It will be skipped in future searches.
Trait Implementations§
impl Copy for Status
impl Eq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.