Crate hdi_extensions

Source

Re-exports§

pub use hdi;
pub use holo_hash;

Macros§

guest_error
Shortcut for wasm_error!(WasmErrorInner::Guest( ... ))
invalid
Return an hdi::prelude::ValidateCallbackResult::Invalid
scoped_type_connector
Defines ScopedTypeConnector methods for an entry type
valid
Return an hdi::prelude::ValidateCallbackResult::Valid

Structs§

LinkDirectionInput
Input for getting links based on direction (ignoring type/tag)

Traits§

ActionTransformer
Extend Action transformations
AnyDhtHashTransformer
Extend AnyDhtHash transformations
AnyLinkableHashTransformer
Extend AnyLinkableHash transformations
ScopedTypeConnector
Methods for getting scoped-type info from an entry struct

Functions§

detect_app_entry_def
Detect the AppEntryDef from a given Action
detect_app_entry_unit
Detect the entry types unit from a given Action
summon_action
Alias for must_get_action
summon_agent_validation_pkg_action
Get an action address expecting it to be a Action::AgentValidationPkg
summon_app_entry
Get and deserialize the given address into the expected app entry struct
summon_close_chain_action
Get an action address expecting it to be a Action::CloseChain
summon_create_action
Get an action address expecting it to be a Action::Create
summon_create_link_action
Get an action address expecting it to be a Action::CreateLink
summon_creation_action
Get an action address that is expected to be a EntryCreationAction
summon_delete_action
Get an action address expecting it to be a Action::Delete
summon_delete_link_action
Get an action address expecting it to be a Action::DeleteLink
summon_dna_action
Get an action address expecting it to be a Action::Dna
summon_entry
Alias for must_get_entry
summon_init_zomes_complete_action
Get an action address expecting it to be a Action::InitZomesComplete
summon_open_chain_action
Get an action address expecting it to be a Action::OpenChain
summon_record_type
Get a Record expecting it to have a specific ActionType
summon_update_action
Get an action address expecting it to be a Action::Update
summon_valid_record
Alias for must_get_valid_record
trace_origin
Collect the chain of evolutions backwards
trace_origin_root
Get the last item in a trace_origin result
verify_app_entry_struct
Check that the given address can deserialize to the expected app entry struct