Enum gluon_check::unify_type::TypeError
source · pub enum TypeError<I, T> {
UndefinedType(I),
FieldMismatch(I, I),
SelfRecursiveAlias(I),
UnableToGeneralize(I),
MissingFields(T, Vec<I>),
EscapingSkolem(I),
}
Variants§
UndefinedType(I)
FieldMismatch(I, I)
SelfRecursiveAlias(I)
UnableToGeneralize(I)
MissingFields(T, Vec<I>)
EscapingSkolem(I)
Implementations§
Trait Implementations§
source§impl<I: PartialEq, T: PartialEq> PartialEq for TypeError<I, T>
impl<I: PartialEq, T: PartialEq> PartialEq for TypeError<I, T>
impl<I: Eq, T: Eq> Eq for TypeError<I, T>
impl<I, T> StructuralEq for TypeError<I, T>
impl<I, T> StructuralPartialEq for TypeError<I, T>
Auto Trait Implementations§
impl<I, T> RefUnwindSafe for TypeError<I, T>where
I: RefUnwindSafe,
T: RefUnwindSafe,
impl<I, T> Send for TypeError<I, T>
impl<I, T> Sync for TypeError<I, T>
impl<I, T> Unpin for TypeError<I, T>
impl<I, T> UnwindSafe for TypeError<I, T>where
I: UnwindSafe,
T: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more