Enum invariant::InvariantError [] [src]

pub enum InvariantError<E> {
    InvariantFailure,
    OtherError(E),
}

Variants

Trait Implementations

impl<E: Debug> Debug for InvariantError<E>
[src]

Formats the value using the given formatter.

impl<E: Hash> Hash for InvariantError<E>
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl<E: PartialEq> PartialEq for InvariantError<E>
[src]

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

This method tests for !=.

impl<E: Eq> Eq for InvariantError<E>
[src]

impl<E: Clone> Clone for InvariantError<E>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<E: Copy> Copy for InvariantError<E>
[src]

impl<E> Default for InvariantError<E>
[src]

Returns the "default value" for a type. Read more

impl<E> Into<Option<E>> for InvariantError<E>
[src]

Performs the conversion.

impl<E: Display> Display for InvariantError<E>
[src]

Formats the value using the given formatter. Read more

impl<E: Error> Error for InvariantError<E>
[src]

A short description of the error. Read more

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