Crate moon_pdk_test_utils

Source

Macros§

  • Construct an ad-hoc error from a string or existing non-anyhow error value.
  • Wrap an enum with common derives and serde required attributes.
  • Wrap a struct with common derives and serde required attributes.
  • Apply default attributes for configuration based structs. Will assume that all keys are in camel case.

Structs§

Enums§

  • Architecture of the system environment.
  • Libc being used in the system environment.
  • Target where host logs should be written to.
  • Operating system of the current environment.
  • An operation to perform within moon (the host) itself.
  • Strategies and protocols for locating plugins.
  • Errors during plugin locator parsing.
  • A container for WASI virtual paths that can also keep a reference to the original real path.

Functions§

Type Aliases§

  • Represents any result (using anyhow).