pub struct ErrHdk;
Expand description
Used as a placeholder before any other Hdk is registered. Generally only useful for testing but technically can be set any time.
Trait Implementations
sourceimpl HdiT for ErrHdk
impl HdiT for ErrHdk
Every call is an error for the ErrHdk.
fn verify_signature(
&self,
_verify_signature: VerifySignature
) -> ExternResult<bool>
fn hash(&self, _hash_input: HashInput) -> ExternResult<HashOutput>
fn must_get_entry(
&self,
_must_get_entry_input: MustGetEntryInput
) -> ExternResult<EntryHashed>
fn must_get_action(
&self,
_must_get_action_input: MustGetActionInput
) -> ExternResult<SignedActionHashed>
fn must_get_valid_record(
&self,
_must_get_valid_record_input: MustGetValidRecordInput
) -> ExternResult<Record>
fn must_get_agent_activity(
&self,
_: MustGetAgentActivityInput
) -> ExternResult<Vec<RegisterAgentActivity>>
fn dna_info(&self, _dna_info_input: ()) -> ExternResult<DnaInfo>
fn zome_info(&self, _zome_info_input: ()) -> ExternResult<ZomeInfo>
fn trace(&self, _: TraceMsg) -> ExternResult<()>
fn x_salsa20_poly1305_decrypt(
&self,
_x_salsa20_poly1305_decrypt: XSalsa20Poly1305Decrypt
) -> ExternResult<Option<XSalsa20Poly1305Data>>
fn x_25519_x_salsa20_poly1305_decrypt(
&self,
_x_25519_x_salsa20_poly1305_decrypt: X25519XSalsa20Poly1305Decrypt
) -> ExternResult<Option<XSalsa20Poly1305Data>>
sourceimpl HdkT for ErrHdk
impl HdkT for ErrHdk
Every call is an error for the ErrHdk.
fn get_agent_activity(
&self,
_: GetAgentActivityInput
) -> ExternResult<AgentActivity>
fn query(&self, _: ChainQueryFilter) -> ExternResult<Vec<Record>>
fn sign(&self, _: Sign) -> ExternResult<Signature>
fn sign_ephemeral(&self, _: SignEphemeral) -> ExternResult<EphemeralSignatures>
fn create(&self, _: CreateInput) -> ExternResult<ActionHash>
fn update(&self, _: UpdateInput) -> ExternResult<ActionHash>
fn delete(&self, _: DeleteInput) -> ExternResult<ActionHash>
fn get(&self, _: Vec<GetInput>) -> ExternResult<Vec<Option<Record>>>
fn get_details(&self, _: Vec<GetInput>) -> ExternResult<Vec<Option<Details>>>
fn accept_countersigning_preflight_request(
&self,
_: PreflightRequest
) -> ExternResult<PreflightRequestAcceptance>
fn agent_info(&self, _: ()) -> ExternResult<AgentInfo>
fn call_info(&self, _: ()) -> ExternResult<CallInfo>
fn create_link(&self, _: CreateLinkInput) -> ExternResult<ActionHash>
fn delete_link(&self, _: DeleteLinkInput) -> ExternResult<ActionHash>
fn get_links(&self, _: Vec<GetLinksInput>) -> ExternResult<Vec<Vec<Link>>>
fn get_link_details(
&self,
_: Vec<GetLinksInput>
) -> ExternResult<Vec<LinkDetails>>
fn call(&self, _: Vec<Call>) -> ExternResult<Vec<ZomeCallResponse>>
fn emit_signal(&self, _: AppSignal) -> ExternResult<()>
fn remote_signal(&self, _: RemoteSignal) -> ExternResult<()>
fn random_bytes(&self, _: u32) -> ExternResult<Bytes>
fn sys_time(&self, _: ()) -> ExternResult<Timestamp>
fn schedule(&self, _: String) -> ExternResult<()>
fn sleep(&self, _: Duration) -> ExternResult<()>
fn x_salsa20_poly1305_encrypt(
&self,
_x_salsa20_poly1305_encrypt: XSalsa20Poly1305Encrypt
) -> ExternResult<XSalsa20Poly1305EncryptedData>
fn create_x25519_keypair(
&self,
_create_x25519_keypair_input: ()
) -> ExternResult<X25519PubKey>
fn x_25519_x_salsa20_poly1305_encrypt(
&self,
_x_25519_x_salsa20_poly1305_encrypt: X25519XSalsa20Poly1305Encrypt
) -> ExternResult<XSalsa20Poly1305EncryptedData>
Auto Trait Implementations
impl RefUnwindSafe for ErrHdk
impl Send for ErrHdk
impl Sync for ErrHdk
impl Unpin for ErrHdk
impl UnwindSafe for ErrHdk
Blanket Implementations
impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T>where
T: Future, type Output = <T as Future>::Output;
fn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T>where
T: Future, type Output = <T as Future>::Output;
T: Future, type Output = <T as Future>::Output;
sourcefn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T>where
T: Future, type Output = <T as Future>::Output;
fn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T>where
T: Future, type Output = <T as Future>::Output;
T: Future, type Output = <T as Future>::Output;
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T>where
T: Future, type Output = <T as Future>::Output;
where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T>where
T: Future, type Output = <T as Future>::Output;
where
S: Into<Dispatch>,
T: Future, type Output = <T as Future>::Output;
sourcefn with_current_subscriber(self) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T>where
T: Future, type Output = <T as Future>::Output;
fn with_current_subscriber(self) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T>where
T: Future, type Output = <T as Future>::Output;
T: Future, type Output = <T as Future>::Output;