[][src]Enum llrb_index::Error

pub enum Error<K> where
    K: Clone + Ord
{ ConsecutiveReds, UnbalancedBlacks(String), SortError(K, K), OverwriteKey, }

Error enumerates over all possible errors that this package shall return.

Variants

ConsecutiveReds

Fatal case, breaking one of the two LLRB rules.

UnbalancedBlacks(String)

Fatal case, breaking one of the two LLRB rules. The String component of this variant can be used for debugging.

SortError(K, K)

Fatal case, index entries are not in sort-order.

OverwriteKey

Returned by create() API when key is already present.

Trait Implementations

impl<K: Debug> Debug for Error<K> where
    K: Clone + Ord
[src]

impl<K: PartialEq> PartialEq<Error<K>> for Error<K> where
    K: Clone + Ord
[src]

impl<K> StructuralPartialEq for Error<K> where
    K: Clone + Ord
[src]

Auto Trait Implementations

impl<K> RefUnwindSafe for Error<K> where
    K: RefUnwindSafe

impl<K> Send for Error<K> where
    K: Send

impl<K> Sync for Error<K> where
    K: Sync

impl<K> Unpin for Error<K> where
    K: Unpin

impl<K> UnwindSafe for Error<K> where
    K: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.