[][src]Struct rustc_ap_rustc_data_structures::obligation_forest::Outcome

pub struct Outcome<O, E> {
    pub errors: Vec<Error<O, E>>,
    pub stalled: bool,
}

Fields

errors: Vec<Error<O, E>>

Backtrace of obligations that were found to be in error.

stalled: bool

If true, then we saw no successful obligations, which means there is no point in further iteration. This is based on the assumption that when trait matching returns Error or Unchanged, those results do not affect environmental inference state. (Note that if we invoke process_obligations with no pending obligations, stalled will be true.)

Trait Implementations

impl<O: Debug, E: Debug> Debug for Outcome<O, E>[src]

impl<O, E> OutcomeTrait for Outcome<O, E>[src]

type Error = Error<O, E>

type Obligation = O

Auto Trait Implementations

impl<O, E> RefUnwindSafe for Outcome<O, E> where
    E: RefUnwindSafe,
    O: RefUnwindSafe
[src]

impl<O, E> Send for Outcome<O, E> where
    E: Send,
    O: Send
[src]

impl<O, E> Sync for Outcome<O, E> where
    E: Sync,
    O: Sync
[src]

impl<O, E> Unpin for Outcome<O, E> where
    E: Unpin,
    O: Unpin
[src]

impl<O, E> UnwindSafe for Outcome<O, E> where
    E: UnwindSafe,
    O: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<'a, T> Captures<'a> for T where
    T: ?Sized
[src]

impl<T> Erased for T[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,