Skip to main content

rns_hooks/
result.rs

1pub use rns_hooks_abi::result::{HookResult, Verdict};
2
3/// Result of executing a single program or a chain, with owned data extracted
4/// from WASM memory before the store is dropped.
5#[derive(Debug, Clone)]
6pub struct ExecuteResult {
7    pub hook_result: Option<HookResult>,
8    pub injected_actions: Vec<crate::wire::ActionWire>,
9    pub modified_data: Option<Vec<u8>>,
10}