Enum gluon_check::unify::Error [] [src]

pub enum Error<T: Substitutable, E> {
    TypeMismatch(T, T),
    Occurs(T::Variable, T),
    Other(E),
}

Variants

Trait Implementations

impl<T: Debug + Substitutable, E: Debug> Debug for Error<T, E> where T::Variable: Debug
[src]

Formats the value using the given formatter.

impl<T: PartialEq + Substitutable, E: PartialEq> PartialEq for Error<T, E> where T::Variable: PartialEq
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<T, E> Display for Error<T, E> where T: Substitutable + Display,
        T::Variable: Display,
        E: Display
[src]

Formats the value using the given formatter.