[−][src]Struct runestick::VmError
Errors raised by the execution of the virtual machine.
Implementations
impl VmError
[src]
pub fn kind(&self) -> &VmErrorKind
[src]
Access the underlying error kind.
pub fn into_unwinded(self, ip: usize) -> Self
[src]
Convert into an unwinded vm error.
pub fn from_unwinded(self) -> (Self, Option<usize>)
[src]
Unpack an unwinded error, if it is present.
Trait Implementations
impl Debug for VmError
[src]
impl Display for VmError
[src]
impl Error for VmError
[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<E> From<E> for VmError where
VmErrorKind: From<E>,
[src]
VmErrorKind: From<E>,
impl From<ValueError> for VmError
[src]
fn from(error: ValueError) -> Self
[src]
Auto Trait Implementations
impl !RefUnwindSafe for VmError
impl Send for VmError
impl Sync for VmError
impl Unpin for VmError
impl !UnwindSafe for VmError
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>,