Struct holochain::core::ribosome::host_fn::HostFnApi [−][src]
pub struct HostFnApi<Ribosome: RibosomeT> { /* fields omitted */ }
Implementations
Trait Implementations
fn call_remote(
&self,
input: Vec<CallRemote>
) -> Result<Vec<ZomeCallResponse>, HostFnApiError>
fn x_salsa20_poly1305_encrypt(
&self,
input: XSalsa20Poly1305Encrypt
) -> Result<XSalsa20Poly1305EncryptedData, HostFnApiError>
fn x_salsa20_poly1305_decrypt(
&self,
input: XSalsa20Poly1305Decrypt
) -> Result<Option<XSalsa20Poly1305Data>, HostFnApiError>
fn x_25519_x_salsa20_poly1305_encrypt(
&self,
input: X25519XSalsa20Poly1305Encrypt
) -> Result<XSalsa20Poly1305EncryptedData, HostFnApiError>
fn x_25519_x_salsa20_poly1305_decrypt(
&self,
input: X25519XSalsa20Poly1305Decrypt
) -> Result<Option<XSalsa20Poly1305Data>, HostFnApiError>
fn get_agent_activity(
&self,
input: GetAgentActivityInput
) -> Result<AgentActivity, HostFnApiError>
fn get_link_details(
&self,
input: Vec<GetLinksInput>
) -> Result<Vec<LinkDetails>, HostFnApiError>
fn must_get_valid_element(
&self,
input: MustGetValidElementInput
) -> Result<Element, HostFnApiError>
fn must_get_header(
&self,
input: MustGetHeaderInput
) -> Result<SignedHeaderHashed, HostFnApiError>
fn accept_countersigning_preflight_request(
&self,
input: PreflightRequest
) -> Result<PreflightRequestAcceptance, HostFnApiError>
Auto Trait Implementations
impl<Ribosome> !RefUnwindSafe for HostFnApi<Ribosome>
impl<Ribosome> !UnwindSafe for HostFnApi<Ribosome>
Blanket Implementations
fn type_id_compat(&self) -> TypeId
fn type_id_compat(&self) -> TypeId
TODO: once 1.33.0 is the minimum supported compiler version, remove Any::type_id_compat and use StdAny::type_id instead. https://github.com/rust-lang/rust/issues/27745 Read more
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more