Enum polytype::UnificationError [] [src]

pub enum UnificationError {
    Occurs(u32),
    Failure(TypeType),
}

Variants

Occurs is the error when the same type variable occurs in both types in a circular way. The number of the circular type variable is supplied.

Failure happens when symbols or type variants don't match.

Trait Implementations

impl Debug for UnificationError
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for UnificationError
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for UnificationError
[src]

[src]

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

[src]

This method tests for !=.

impl Display for UnificationError
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for UnificationError
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

The lower-level cause of this error, if any. Read more

Auto Trait Implementations