Enum wasmtime_wiggle::GuestError [−][src]
pub enum GuestError { InvalidFlagValue(&'static str), InvalidEnumValue(&'static str), PtrOverflow, PtrOutOfBounds(Region), PtrNotAligned(Region, u32), PtrBorrowed(Region), BorrowCheckerOutOfHandles, SliceLengthsDiffer, InFunc { modulename: &'static str, funcname: &'static str, location: &'static str, err: Box<GuestError, Global>, }, InvalidUtf8(Utf8Error), TryFromIntError(TryFromIntError), }
Variants
InvalidFlagValue(&'static str)
InvalidEnumValue(&'static str)
PtrOutOfBounds(Region)
PtrBorrowed(Region)
Show fields
InvalidUtf8(Utf8Error)
TryFromIntError(TryFromIntError)
Trait Implementations
impl Debug for GuestError
[src]
impl Debug for GuestError
[src]impl Display for GuestError
[src]
impl Display for GuestError
[src]impl Error for GuestError
[src]
impl Error for GuestError
[src]pub fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
pub fn source(&self) -> Option<&(dyn Error + 'static)>
[src]The lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str
1.0.0[src]
fn description(&self) -> &str
1.0.0[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
impl From<GuestError> for Trap
[src]
impl From<GuestError> for Trap
[src]pub fn from(err: GuestError) -> Trap
[src]
pub fn from(err: GuestError) -> Trap
[src]Performs the conversion.
impl From<TryFromIntError> for GuestError
[src]
impl From<TryFromIntError> for GuestError
[src]pub fn from(source: TryFromIntError) -> GuestError
[src]
pub fn from(source: TryFromIntError) -> GuestError
[src]Performs the conversion.
impl From<Utf8Error> for GuestError
[src]
impl From<Utf8Error> for GuestError
[src]pub fn from(source: Utf8Error) -> GuestError
[src]
pub fn from(source: Utf8Error) -> GuestError
[src]Performs the conversion.
impl PartialEq<GuestError> for GuestError
[src]
impl PartialEq<GuestError> for GuestError
[src]pub fn eq(&self, other: &GuestError) -> bool
[src]
pub fn eq(&self, other: &GuestError) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
pub fn ne(&self, other: &GuestError) -> bool
[src]
pub fn ne(&self, other: &GuestError) -> bool
[src]This method tests for !=
.
impl Eq for GuestError
[src]
impl StructuralEq for GuestError
[src]
impl StructuralPartialEq for GuestError
[src]
Auto Trait Implementations
impl RefUnwindSafe for GuestError
impl Send for GuestError
impl Sync for GuestError
impl Unpin for GuestError
impl UnwindSafe for GuestError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
pub fn equivalent(&self, key: &K) -> bool
[src]Compare self to key
and return true
if they are equal.
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
[src]
fn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
[src]
fn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
[src]impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,