[][src]Enum ralik::error::RuntimeError

pub enum RuntimeError {
    InvalidArgumentType {
        argument_number: usize,
        actual_type_name: String,
        expected_type_name: String,
    },
    InvalidNumberOfArguments {
        actual: usize,
        expected: usize,
    },
    OutOfBounds {
        index: usize,
        len: usize,
    },
    Overflow(Overflow),
    InvalidCoreType(InvalidCoreType),
    ValueCreationError(ValueCreationError),
    Panic(Error),
}

Variants

InvalidArgumentType

Fields of InvalidArgumentType

argument_number: usizeactual_type_name: Stringexpected_type_name: String
InvalidNumberOfArguments

Fields of InvalidNumberOfArguments

actual: usizeexpected: usize
OutOfBounds

Fields of OutOfBounds

index: usizelen: usize
Overflow(Overflow)
InvalidCoreType(InvalidCoreType)
ValueCreationError(ValueCreationError)
Panic(Error)

Trait Implementations

impl Debug for RuntimeError[src]

impl Display for RuntimeError[src]

impl Error for RuntimeError[src]

impl From<ArrayCreationError> for RuntimeError[src]

impl From<BoolCreationError> for RuntimeError[src]

impl From<CharCreationError> for RuntimeError[src]

impl From<Error> for RuntimeError[src]

impl From<IntegerCreationError> for RuntimeError[src]

impl From<InvalidCoreType> for RuntimeError[src]

impl From<Overflow> for RuntimeError[src]

impl From<StringCreationError> for RuntimeError[src]

impl From<StructCreationError> for RuntimeError[src]

impl From<TupleCreationError> for RuntimeError[src]

impl From<TupleStructCreationError> for RuntimeError[src]

impl From<UnitStructCreationError> for RuntimeError[src]

impl From<ValueCreationError> for RuntimeError[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.