[−][src]Enum runestick::ValueErrorKind
Value raised when interacting with a value.
Variants
The virtual machine panicked for a specific reason.
Fields of Panic
reason: Panic
The reason for the panic.
A wrapped virtual machine error.
Fields of VmError
error: VmError
The source error.
Trying to access an inaccessible reference.
Fields of AccessError
error: AccessError
Source error.
Error raised when we expected a object.
Fields of ExpectedObject
actual: ValueTypeInfo
The actual type observed instead.
Error raised when we expected a function pointer.
Fields of ExpectedFnPtr
actual: ValueTypeInfo
The actual type observed instead.
Error raised when we expected a value.
Fields of ExpectedAny
Error raised when we expected a future.
Fields of ExpectedFuture
actual: ValueTypeInfo
The actual type found.
Error raised when we expected a generator.
Fields of ExpectedGenerator
actual: ValueTypeInfo
The actual type found.
Error raised when we expected a generator state.
Fields of ExpectedGeneratorState
actual: ValueTypeInfo
The actual type found.
Error raised when expecting a unit.
Fields of ExpectedUnit
actual: ValueTypeInfo
The actual type found.
Error raised when expecting an option.
Fields of ExpectedOption
actual: ValueTypeInfo
The actual type found.
Error raised when we expecting a result.
Fields of ExpectedResult
actual: ValueTypeInfo
The actual type found.
Error raised when we expected a boolean value.
Fields of ExpectedBoolean
actual: ValueTypeInfo
The actual type found.
Error raised when we expected a byte value.
Fields of ExpectedByte
actual: ValueTypeInfo
The actual type found.
Error raised when we expected a char value.
Fields of ExpectedChar
actual: ValueTypeInfo
The actual type found.
Error raised when an integer value was expected.
Fields of ExpectedInteger
actual: ValueTypeInfo
The actual type found.
Error raised when we expected a float value.
Fields of ExpectedFloat
actual: ValueTypeInfo
The actual type found.
Error raised when we expected a string.
Fields of ExpectedString
actual: ValueTypeInfo
The actual type observed instead.
Error raised when we expected a byte string.
Fields of ExpectedBytes
actual: ValueTypeInfo
The actual type observed instead.
Error raised when we expected a vector.
Fields of ExpectedVec
actual: ValueTypeInfo
The actual type observed instead.
Error raised when we expected a tuple.
Fields of ExpectedTuple
actual: ValueTypeInfo
The actual type observed instead.
Failure to convert a number into an integer.
Fields of ValueToIntegerCoercionError
Failure to convert an integer into a value.
Fields of IntegerToValueCoercionError
Error raised when we expected an tuple of the given length.
Fields of ExpectedTupleLength
Internal error that happens when we run out of items in a list.
Trait Implementations
impl Debug for ValueErrorKind
[src]
impl Display for ValueErrorKind
[src]
impl Error for ValueErrorKind
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn description(&self) -> &str
1.0.0[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<AccessError> for ValueErrorKind
[src]
fn from(source: AccessError) -> Self
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ValueErrorKind
impl Send for ValueErrorKind
impl Sync for ValueErrorKind
impl Unpin for ValueErrorKind
impl !UnwindSafe for ValueErrorKind
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,