[][src]Enum gluon_check::kindcheck::KindError

pub enum KindError<I, T> {
    UndefinedType(I),
    UndefinedField(T, I),
}

Enumeration possible errors other than mismatch and occurs when kindchecking

Variants

UndefinedType(I)

The type is not defined in the current scope

UndefinedField(T, I)

Implementations

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

pub fn map_t<RET>(self, __f: &mut impl FnMut(T) -> RET) -> KindError<I, RET> where
    T: Clone
[src]

Trait Implementations

impl<I: Clone, T: Clone> Clone for KindError<I, T>[src]

impl<I: Debug, T: Debug> Debug for KindError<I, T>[src]

impl<I, T> Display for KindError<I, T> where
    I: Display + AsRef<str>,
    T: Display
[src]

impl<I: Eq, T: Eq> Eq for KindError<I, T>[src]

impl<I: Hash, T: Hash> Hash for KindError<I, T>[src]

impl<I: PartialEq, T: PartialEq> PartialEq<KindError<I, T>> for KindError<I, T>[src]

impl<I, T> StructuralEq for KindError<I, T>[src]

impl<I, T> StructuralPartialEq for KindError<I, T>[src]

Auto Trait Implementations

impl<I, T> RefUnwindSafe for KindError<I, T> where
    I: RefUnwindSafe,
    T: RefUnwindSafe

impl<I, T> Send for KindError<I, T> where
    I: Send,
    T: Send

impl<I, T> Sync for KindError<I, T> where
    I: Sync,
    T: Sync

impl<I, T> Unpin for KindError<I, T> where
    I: Unpin,
    T: Unpin

impl<I, T> UnwindSafe for KindError<I, T> where
    I: 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.