Enum tracing_vec::IndexError[][src]

pub enum IndexError {
    IndexOutOfBounds(TimedIndex),
    VersionDoesNotExist(TimedIndex),
    DataDoesNotExist(TimelessIndex),
    DataAlreadyDead(TimelessIndex),
    NoIndicesProvided,
}

Variants

IndexOutOfBounds(TimedIndex)

Timed index points to a valid version, but to an invalid location therewithin.

VersionDoesNotExist(TimedIndex)

Timed index doesn’t point to a valid version.

DataDoesNotExist(TimelessIndex)

Timeless index doesn’t point to valid data.

DataAlreadyDead(TimelessIndex)

Attempted to perform an operation that requires the element to exist in the latest version.

NoIndicesProvided

Attempted to perform a splicing operation on no indices.

Trait Implementations

impl Clone for IndexError[src]

impl Copy for IndexError[src]

impl Debug for IndexError[src]

impl Eq for IndexError[src]

impl Hash for IndexError[src]

impl Ord for IndexError[src]

impl PartialEq<IndexError> for IndexError[src]

impl PartialOrd<IndexError> for IndexError[src]

impl StructuralEq for IndexError[src]

impl StructuralPartialEq for IndexError[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.