pub trait HostFnApiT {
Show 40 methods fn accept_countersigning_preflight_request(
        &self,
        PreflightRequest
    ) -> Result<PreflightRequestAcceptance, HostFnApiError>;
fn agent_info(&self, ()) -> Result<AgentInfo, HostFnApiError>;
fn dna_info(&self, ()) -> Result<DnaInfo, HostFnApiError>;
fn call_info(&self, ()) -> Result<CallInfo, HostFnApiError>;
fn call(
        &self,
        Vec<Call, Global>
    ) -> Result<Vec<ZomeCallResponse, Global>, HostFnApiError>;
fn capability_claims(&self, ()) -> Result<(), HostFnApiError>;
fn capability_grants(&self, ()) -> Result<(), HostFnApiError>;
fn capability_info(&self, ()) -> Result<(), HostFnApiError>;
fn create(&self, CreateInput) -> Result<HoloHash<Header>, HostFnApiError>;
fn create_link(
        &self,
        CreateLinkInput
    ) -> Result<HoloHash<Header>, HostFnApiError>;
fn create_x25519_keypair(&self, ()) -> Result<X25519PubKey, HostFnApiError>;
fn trace(&self, TraceMsg) -> Result<(), HostFnApiError>;
fn delete_link(
        &self,
        DeleteLinkInput
    ) -> Result<HoloHash<Header>, HostFnApiError>;
fn delete(&self, DeleteInput) -> Result<HoloHash<Header>, HostFnApiError>;
fn emit_signal(&self, AppSignal) -> Result<(), HostFnApiError>;
fn get_agent_activity(
        &self,
        GetAgentActivityInput
    ) -> Result<AgentActivity, HostFnApiError>;
fn get_details(
        &self,
        Vec<GetInput, Global>
    ) -> Result<Vec<Option<Details>, Global>, HostFnApiError>;
fn get_link_details(
        &self,
        Vec<GetLinksInput, Global>
    ) -> Result<Vec<LinkDetails, Global>, HostFnApiError>;
fn get_links(
        &self,
        Vec<GetLinksInput, Global>
    ) -> Result<Vec<Vec<Link, Global>, Global>, HostFnApiError>;
fn get(
        &self,
        Vec<GetInput, Global>
    ) -> Result<Vec<Option<Element>, Global>, HostFnApiError>;
fn hash(&self, HashInput) -> Result<HashOutput, HostFnApiError>;
fn must_get_valid_element(
        &self,
        MustGetValidElementInput
    ) -> Result<Element, HostFnApiError>;
fn must_get_entry(
        &self,
        MustGetEntryInput
    ) -> Result<HoloHashed<Entry>, HostFnApiError>;
fn must_get_header(
        &self,
        MustGetHeaderInput
    ) -> Result<SignedHashed<Header>, HostFnApiError>;
fn query(
        &self,
        ChainQueryFilter
    ) -> Result<Vec<Element, Global>, HostFnApiError>;
fn random_bytes(&self, u32) -> Result<ByteBuf, HostFnApiError>;
fn remote_signal(&self, RemoteSignal) -> Result<(), HostFnApiError>;
fn schedule(&self, String) -> Result<(), HostFnApiError>;
fn sleep(&self, Duration) -> Result<(), HostFnApiError>;
fn version(&self, ()) -> Result<ZomeApiVersion, HostFnApiError>;
fn sign(&self, Sign) -> Result<Signature, HostFnApiError>;
fn sign_ephemeral(
        &self,
        SignEphemeral
    ) -> Result<EphemeralSignatures, HostFnApiError>;
fn sys_time(&self, ()) -> Result<Timestamp, HostFnApiError>;
fn update(&self, UpdateInput) -> Result<HoloHash<Header>, HostFnApiError>;
fn verify_signature(&self, VerifySignature) -> Result<bool, HostFnApiError>;
fn x_salsa20_poly1305_encrypt(
        &self,
        XSalsa20Poly1305Encrypt
    ) -> Result<XSalsa20Poly1305EncryptedData, HostFnApiError>;
fn x_salsa20_poly1305_decrypt(
        &self,
        XSalsa20Poly1305Decrypt
    ) -> Result<Option<XSalsa20Poly1305Data>, HostFnApiError>;
fn x_25519_x_salsa20_poly1305_encrypt(
        &self,
        X25519XSalsa20Poly1305Encrypt
    ) -> Result<XSalsa20Poly1305EncryptedData, HostFnApiError>;
fn x_25519_x_salsa20_poly1305_decrypt(
        &self,
        X25519XSalsa20Poly1305Decrypt
    ) -> Result<Option<XSalsa20Poly1305Data>, HostFnApiError>;
fn zome_info(&self, ()) -> Result<ZomeInfo, HostFnApiError>;
}

Required methods

fn must_get_entry(
    &self,
    MustGetEntryInput
) -> Result<HoloHashed<Entry>, HostFnApiError>

Implementors