Enum hash_trie::BitError[][src]

pub enum BitError {
    CountNotEqualToOne,
    Found,
    NotFound,
    Range,
}
Expand description

BitError enumerates possible error conditions when bitops are used “incorrectly.”

Variants

CountNotEqualToOne

BitError::CountNotEqualToOne indicates a word representing a bit contains either 2 or more bits or 0 bits.

Found

BitError::Found indicates a bit that is supposed to be absent is present.

NotFound

BitError::NotFound indicates a bit that is supposed to be present is absent.

Range

BitError::Range indicates an index exceeding the word size was used.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.