[][src]Enum chalk_engine::context::AnswerResult

pub enum AnswerResult<I: Interner> {
    Answer(CompleteAnswer<I>),
    NoMoreSolutions,
    Floundered,
    QuantumExceeded,
}

Variants

Answer(CompleteAnswer<I>)

The next available answer.

NoMoreSolutions

No answer could be returned because there are no more solutions.

Floundered

No answer could be returned because the goal has floundered.

QuantumExceeded

Implementations

impl<I: Interner> AnswerResult<I>[src]

pub fn is_answer(&self) -> bool[src]

pub fn answer(self) -> CompleteAnswer<I>[src]

pub fn is_no_more_solutions(&self) -> bool[src]

pub fn is_quantum_exceeded(&self) -> bool[src]

Trait Implementations

impl<I: Interner> Debug for AnswerResult<I>[src]

Auto Trait Implementations

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<T> Cast 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.