Enum rant::SliceError[][src]

pub enum SliceError {
    OutOfRange,
    UnsupportedSliceBoundType(RantValueType),
    CannotSliceType(RantValueType),
    CannotSetSliceOnType(RantValueType),
    UnsupportedSpliceSource {
        src: RantValueType,
        dst: RantValueType,
    },
}

Error produced by slicing a RantValue.

Variants

OutOfRange

Slice is out of range.

UnsupportedSliceBoundType(RantValueType)

Tried to slice with an unsupported bound type.

CannotSliceType(RantValueType)

Type cannot be sliced.

CannotSetSliceOnType(RantValueType)

Type cannot be spliced.

UnsupportedSpliceSource

Type cannot be spliced with the specified source type.

Show fields

Fields of UnsupportedSpliceSource

src: RantValueTypedst: RantValueType

Trait Implementations

impl Debug for SliceError[src]

impl Display for SliceError[src]

impl Error for SliceError[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> ToString for T where
    T: Display + ?Sized
[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,