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
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.
Type cannot be spliced with the specified source type.
Show fields
Fields of UnsupportedSpliceSource
src: RantValueType
dst: RantValueType
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SliceError
impl RefUnwindSafe for SliceError
impl Send for SliceError
impl Send for SliceError
impl Sync for SliceError
impl Sync for SliceError
impl Unpin for SliceError
impl Unpin for SliceError
impl UnwindSafe for SliceError
impl UnwindSafe for SliceError