Crate wiggle

Source

Re-exports§

Modules§

Macros§

  • This macro expands to a set of pub Rust modules:
  • Define the structs required to integrate a Wiggle implementation with Wasmtime.

Structs§

  • A guest pointer.
  • Represents a contiguous region in memory.

Enums§

Traits§

  • 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 occurred. This trait allows wiggle to return the correct value when the interface function’s idiomatic Rust method returns Ok(<rest of return values>).
  • A trait for types that are intended to be pointees in GuestPtr<T>.
  • 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.
  • Types that can be pointed to by GuestPtr<T>.

Functions§

Attribute Macros§