Skip to main content

Crate camel_wit

Crate camel_wit 

Source

Structs§

WitHost
Host-side resource tracker for WIT-based WASM plugins.

Constants§

APPLICATION_FORM_URLENCODED
MIME type for URL-encoded form data.
APPLICATION_JSON
MIME type for JSON data.
APPLICATION_OCTET_STREAM
MIME type for arbitrary binary data.
APPLICATION_XML
MIME type for XML documents.
BEAN_WIT
WIT source for the bean world (standalone file, same package as PLUGIN_WIT).
FULL_WIT
Combined WIT package with both plugin and bean worlds in a single document.
PLUGIN_WIT
WIT source for the plugin world (standalone file).
TEXT_HTML
MIME type for HTML documents.
TEXT_PLAIN
MIME type for plain text.

Functions§

wit_dir
Absolute path to the wit/ directory bundled with this crate.