[][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)

Implementations

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: Clone, T: Clone> Clone for Error<E, T>[src]

impl<E: Debug, T: Debug> Debug 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: Eq, T: Eq> Eq 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: Hash, T: Hash> Hash for Error<E, T>[src]

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

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

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

Auto Trait Implementations

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

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

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

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

Blanket Implementations

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

impl<Id> AsId<Id> for Id where
    Id: ?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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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.