holochain_zome_types/
entry_def.rs

1pub use holochain_integrity_types::entry_def::*;
2
3use crate::prelude::*;
4use holochain_wasmer_common::WasmError;
5
6impl CallbackResult for EntryDefsCallbackResult {
7    fn is_definitive(&self) -> bool {
8        false
9    }
10    fn try_from_wasm_error(wasm_error: WasmError) -> Result<Self, WasmError> {
11        // There is no concept of entry defs failing, other than normal error handling.
12        Err(wasm_error)
13    }
14}