[][src]Enum wasmtime_wiggle::GuestError

pub enum GuestError {
    InvalidFlagValue(&'static str),
    InvalidEnumValue(&'static str),
    PtrOverflow,
    PtrOutOfBounds(Region),
    PtrNotAligned(Regionu32),
    PtrBorrowed(Region),
    BorrowCheckerOutOfHandles,
    SliceLengthsDiffer,
    InFunc {
        funcname: &'static str,
        location: &'static str,
        err: Box<GuestError>,
    },
    InDataField {
        typename: String,
        field: String,
        err: Box<GuestError>,
    },
    InvalidUtf8(Utf8Error),
    TryFromIntError(TryFromIntError),
}

Variants

InvalidFlagValue(&'static str)
InvalidEnumValue(&'static str)
PtrOverflow
PtrOutOfBounds(Region)
PtrNotAligned(Regionu32)
PtrBorrowed(Region)
BorrowCheckerOutOfHandles
SliceLengthsDiffer
InFunc

Fields of InFunc

funcname: &'static strlocation: &'static strerr: Box<GuestError>
InDataField

Fields of InDataField

typename: Stringfield: Stringerr: Box<GuestError>
InvalidUtf8(Utf8Error)
TryFromIntError(TryFromIntError)

Trait Implementations

impl Debug for GuestError[src]

impl Display for GuestError[src]

impl Eq for GuestError[src]

impl Error for GuestError[src]

impl From<TryFromIntError> for GuestError[src]

impl From<Utf8Error> for GuestError[src]

impl PartialEq<GuestError> for GuestError[src]

impl StructuralEq for GuestError[src]

impl StructuralPartialEq for GuestError[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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointee for T[src]

type Pointer = u32

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.