pub struct ErrHdi;
Expand description
Used as a placeholder before any other Hdi is registered. Generally only useful for testing but technically can be set any time.
Trait Implementations
sourceimpl HdiT for ErrHdi
impl HdiT for ErrHdi
Every call is an error for the ErrHdi.
fn verify_signature(&self, _: VerifySignature) -> ExternResult<bool>
fn hash(&self, _: HashInput) -> ExternResult<HashOutput>
fn must_get_entry(&self, _: MustGetEntryInput) -> ExternResult<EntryHashed>
fn must_get_action(
&self,
_: MustGetActionInput
) -> ExternResult<SignedActionHashed>
fn must_get_valid_record(
&self,
_: MustGetValidRecordInput
) -> ExternResult<Record>
fn must_get_agent_activity(
&self,
_: MustGetAgentActivityInput
) -> ExternResult<Vec<RegisterAgentActivity>>
fn dna_info(&self, _: ()) -> ExternResult<DnaInfo>
fn zome_info(&self, _: ()) -> ExternResult<ZomeInfo>
fn trace(&self, _: TraceMsg) -> ExternResult<()>
fn x_salsa20_poly1305_decrypt(
&self,
_: XSalsa20Poly1305Decrypt
) -> ExternResult<Option<XSalsa20Poly1305Data>>
fn x_25519_x_salsa20_poly1305_decrypt(
&self,
_: X25519XSalsa20Poly1305Decrypt
) -> ExternResult<Option<XSalsa20Poly1305Data>>
Auto Trait Implementations
impl RefUnwindSafe for ErrHdi
impl Send for ErrHdi
impl Sync for ErrHdi
impl Unpin for ErrHdi
impl UnwindSafe for ErrHdi
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>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Upcastable for Twhere
T: 'static + Any + Send + Sync,
impl<T> Upcastable for Twhere
T: 'static + Any + Send + Sync,
fn upcast_any_ref(&self) -> &(dyn Any + 'static)
fn upcast_any_ref(&self) -> &(dyn Any + 'static)
upcast ref
fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
upcast mut ref