Enum 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>,
},
InvalidUtf8(Utf8Error),
TryFromIntError(TryFromIntError),
}Variants
InvalidFlagValue(&'static str)Tuple Fields of InvalidFlagValue
0: &'static strInvalidEnumValue(&'static str)Tuple Fields of InvalidEnumValue
0: &'static strPtrOutOfBounds(Region)Tuple Fields of PtrOutOfBounds
0: RegionPtrBorrowed(Region)Tuple Fields of PtrBorrowed
0: RegionFields of InFunc
InvalidUtf8(Utf8Error)Tuple Fields of InvalidUtf8
0: Utf8ErrorTryFromIntError(TryFromIntError)Tuple Fields of TryFromIntError
Trait Implementations
Performs the conversion.
Performs the conversion.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
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
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more