Enum hash_trie::BitError [−][src]
#[must_use] pub enum BitError { CountNotEqualToOne, Found, NotFound, Range, }
Expand description
BitError
enumerates possible error conditions when bitops are used “incorrectly.”
Variants
BitError::CountNotEqualToOne
indicates a word representing a bit contains either 2 or more bits or 0 bits.
BitError::Found
indicates a bit that is supposed to be absent is present.
BitError::NotFound
indicates a bit that is supposed to be present is absent.
BitError::Range
indicates an index exceeding the word size was used.
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more