A handle to a borrow on linear memory. It is produced by {mut, shared}_borrow and
consumed by {mut, shared}_unborrow. Only the GuestMemory impl should ever construct
a BorrowHandle or inspect its contents.
A runtime-independent way for Wiggle to terminate WebAssembly execution.
Functions that are marked (@witx noreturn) will always return a Trap.
Other functions that want to Trap can do so via their UserErrorConversion
trait, which transforms the user’s own error type into a Result<abierror, Trap>.
A trait for types which are used to report errors. Each type used in the
first result position of an interface function is used, by convention, to
indicate whether the function was successful and subsequent results are valid,
or whether an error occured. This trait allows wiggle to return the correct
value when the interface function’s idiomatic Rust method returns
Ok().
A trait for GuestTypes that have the same representation in guest memory
as in Rust. These types can be used with the GuestPtr::as_slice method to
view as a slice.