Skip to main content

Crate rns_hooks

Crate rns_hooks 

Source

Re-exports§

pub use context::PacketContext;
pub use engine_access::EngineAccess;
pub use engine_access::NullEngine;
pub use error::HookError;
pub use hooks::create_hook_slots;
pub use hooks::hook_noop;
pub use hooks::HookContext;
pub use hooks::HookFn;
pub use hooks::HookPoint;
pub use hooks::HookSlot;
pub use manager::HookManager;
pub use program::LoadedProgram;
pub use result::EmittedProviderEvent;
pub use result::ExecuteResult;
pub use wire::ActionWire;

Modules§

arena
context
engine_access
error
hooks
host_fns
manager
program
result
runtime
wire

Macros§

run_hook
Dispatch a hook call through the slot’s function pointer.

Structs§

HookResult
Result returned from a WASM hook invocation.

Enums§

Verdict
Verdict returned by a WASM hook program.