Enum rustc_data_structures::obligation_forest::NodeState [−][src]
enum NodeState { Pending, Success, Waiting, Done, Error, OnDfsStack, }
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
The state of one node in some tree within the forest. This
represents the current state of processing for the obligation (of
type O
) associated with this node.
Outside of ObligationForest methods, nodes should be either Pending or Waiting.
Variants
Pending
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Obligations for which selection had not yet returned a non-ambiguous result.
Success
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
This obligation was selected successfully, but may or may not have subobligations.
Waiting
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
This obligation was selected successfully, but it has a pending subobligation.
Done
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
This obligation, along with its subobligations, are complete, and will be removed in the next collection.
Error
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
This obligation was resolved to an error. Error nodes are removed from the vector by the compression step.
OnDfsStack
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
This is a temporary state used in DFS loops to detect cycles, it should not exist outside of these DFSes.
Trait Implementations
impl Debug for NodeState
[src]
impl Debug for NodeState
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for NodeState
[src]
impl Copy for NodeState
impl Clone for NodeState
[src]
impl Clone for NodeState
fn clone(&self) -> NodeState
[src]
fn clone(&self) -> NodeState
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for NodeState
[src]
impl PartialEq for NodeState
fn eq(&self, other: &NodeState) -> bool
[src]
fn eq(&self, other: &NodeState) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl Eq for NodeState
[src]
impl Eq for NodeState
fn assert_receiver_is_total_eq(&self)
[src]
fn assert_receiver_is_total_eq(&self)