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

pub enum Error<E, T> {
    TypeMismatch(T, T),
    Substitution(Error<T>),
    Other(E),
}

Variants

TypeMismatch(T, T)Substitution(Error<T>)Other(E)

Methods

impl<I, T> Error<TypeError<I, T>, T>[src]

pub fn map_t<U>(self, f: &mut impl FnMut(T) -> U) -> Error<TypeError<I, U>, U> where
    T: Clone
[src]

impl<I, T> Error<KindError<I, T>, ArcKind>[src]

pub fn map_t<U>(
    self,
    f: &mut impl FnMut(T) -> U
) -> Error<KindError<I, U>, ArcKind> where
    T: Clone
[src]

Trait Implementations

impl<E: PartialEq, T: PartialEq> PartialEq<Error<E, T>> for Error<E, T>[src]

impl<I, T> From<Error<KindError<I, T>, ArcKind>> for TypeError<I, T>[src]

impl<T, E> From<Error<T>> for Error<E, T>[src]

impl<E, T> Display for Error<E, T> where
    T: Display + for<'a> ToDoc<'a, Arena<'a, ()>, (), ()>,
    E: Display
[src]

impl<E: Debug, T: Debug> Debug for Error<E, T>[src]

Auto Trait Implementations

impl<E, T> Send for Error<E, T> where
    E: Send,
    T: Send

impl<E, T> Sync for Error<E, T> where
    E: Sync,
    T: Sync

Blanket Implementations

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

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.