Macros§
- anyhow
- Construct an ad-hoc error from a string or existing non-
anyhow
error value. - api_
enum - Wrap an enum with common derives and serde required attributes.
- api_
struct - Wrap a struct with common derives and serde required attributes.
- config_
struct - Apply default attributes for configuration based structs. Will assume that all keys are in camel case.
Structs§
- Empty
Input - Represents an empty input.
- Exec
Command Input - Input passed to the
exec_command
host function. - Exec
Command Output - Output returned from the
exec_command
host function. - Execute
Extension Input - Input passed to the
execute_extension
function. - Extension
Metadata Input - Input passed to the
register_extension
function. - Extension
Metadata Output - Output returned from the
register_extension
function. - File
Locator - A file system locator.
- GitHub
Locator - A GitHub release locator.
- Host
Environment - Information about the host environment (the current runtime).
- Host
LogInput - Input passed to the
host_log
host function. - Moon
Context - Information about the current moon workspace.
- Send
Request Input - Input passed to the
send_request
host function. - Send
Request Output - Output returned from the
send_request
host function. - Sync
Workspace Input - Input passed to the
sync_workspace
function. - Sync
Workspace Output - Output returned from the
sync_workspace
function. - Test
Environment - Information about the current testing environment.
- Toolchain
Metadata Input - Input passed to the
register_toolchain
function. - Toolchain
Metadata Output - Output returned from the
register_toolchain
function. - UrlLocator
- A HTTPS URL locator.
Enums§
- Host
Arch - Architecture of the system environment.
- Host
Libc - Libc being used in the system environment.
- Host
LogTarget - Target where host logs should be written to.
- HostOS
- Operating system of the current environment.
- Operation
- An operation to perform within moon (the host) itself.
- Plugin
Locator - Strategies and protocols for locating plugins.
- Plugin
Locator Error - Errors during plugin locator parsing.
- Virtual
Path - A container for WASI virtual paths that can also keep a reference to the original real path.
Type Aliases§
- AnyResult
- Represents any result (using
anyhow
).