Enum lambda_calculus::term::TermError[][src]

pub enum TermError {
    NotVar,
    NotAbs,
    NotApp,
}

An error that can be returned when an inapplicable function is applied to a Term.

Variants

NotVar

the term is not a variable

NotAbs

the term is not an abstraction

NotApp

the term is not an application

Trait Implementations

impl Debug for TermError[src]

impl PartialEq<TermError> for TermError[src]

impl StructuralPartialEq for TermError[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> From<T> 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.