Struct hdi::prelude::SerializedBytes
pub struct SerializedBytes(_);
Expand description
A Canonical Serialized Bytes representation for data If you have a data structure that needs a canonical byte representation use this Always round-trip through SerializedBytes via. a single TryFrom implementation. This ensures that the internal bytes of SerializedBytes are indeed canonical. The corrolary is that if bytes are NOT wrapped in SerializedBytes we can assume they are NOT canonical. Typically we need a canonical serialization when data is to be handled at the byte level by independently implemented and maintained systems.
Examples of times we need a canonical set of bytes to represent data:
- cryptographic operations
- moving across the host/guest wasm boundary
- putting data on the network
Examples of times where we may not need a canonical representation and so may not need this:
- round tripping data through a database that has its own serialization preferences
- debug output or logging of data that is to be human readible
- moving between data types within a single system that has no external facing representation
uses #[repr(transparent)] to maximise compatibility with ffi @see https://doc.rust-lang.org/1.26.2/unstable-book/language-features/repr-transparent.html#enter-reprtransparent
uses serde_bytes for efficient serialization and deserialization without this every byte will be individually round tripped through serde @see https://crates.io/crates/serde_bytes
Implementations
Trait Implementations
sourceimpl AsRef<SerializedBytes> for AppEntryBytes
impl AsRef<SerializedBytes> for AppEntryBytes
sourcefn as_ref(&self) -> &SerializedBytes
fn as_ref(&self) -> &SerializedBytes
sourceimpl Borrow<SerializedBytes> for AppEntryBytes
impl Borrow<SerializedBytes> for AppEntryBytes
sourcefn borrow(&self) -> &SerializedBytes
fn borrow(&self) -> &SerializedBytes
impl Clone for SerializedBytes
impl Clone for SerializedBytes
fn clone(&self) -> SerializedBytes
fn clone(&self) -> SerializedBytes
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreimpl Debug for SerializedBytes
impl Debug for SerializedBytes
A bit of magic to convert the internal messagepack bytes into roughly equivalent JSON output for the purposes of debugging. 90% of the time you probably want this if you are a dev, to see something that “looks like” a data structure when you do {:?} in a formatted string, rather than a vector of bytes in the remaining 10% of situations where you want to debug the real messagepack bytes, call the .bytes() method on SerializedBytes and debug that.
impl Default for SerializedBytes
impl Default for SerializedBytes
fn default() -> SerializedBytes
fn default() -> SerializedBytes
impl<'de> Deserialize<'de> for SerializedBytes
impl<'de> Deserialize<'de> for SerializedBytes
fn deserialize<__D>(
__deserializer: __D
) -> Result<SerializedBytes, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<SerializedBytes, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
sourceimpl From<AppEntryBytes> for SerializedBytes
impl From<AppEntryBytes> for SerializedBytes
sourcefn from(aeb: AppEntryBytes) -> SerializedBytes
fn from(aeb: AppEntryBytes) -> SerializedBytes
impl From<SerializedBytes> for UnsafeBytes
impl From<SerializedBytes> for UnsafeBytes
fn from(sb: SerializedBytes) -> UnsafeBytes
fn from(sb: SerializedBytes) -> UnsafeBytes
impl From<UnsafeBytes> for SerializedBytes
impl From<UnsafeBytes> for SerializedBytes
fn from(b: UnsafeBytes) -> SerializedBytes
fn from(b: UnsafeBytes) -> SerializedBytes
impl Hash for SerializedBytes
impl Hash for SerializedBytes
impl Ord for SerializedBytes
impl Ord for SerializedBytes
fn cmp(&self, other: &SerializedBytes) -> Ordering
fn cmp(&self, other: &SerializedBytes) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
impl PartialEq<SerializedBytes> for SerializedBytes
impl PartialEq<SerializedBytes> for SerializedBytes
fn eq(&self, other: &SerializedBytes) -> bool
fn eq(&self, other: &SerializedBytes) -> bool
impl PartialOrd<SerializedBytes> for SerializedBytes
impl PartialOrd<SerializedBytes> for SerializedBytes
fn partial_cmp(&self, other: &SerializedBytes) -> Option<Ordering>
fn partial_cmp(&self, other: &SerializedBytes) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moreimpl Serialize for SerializedBytes
impl Serialize for SerializedBytes
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl<'a> TryFrom<&'a SerializedBytes> for SerializedBytes
impl<'a> TryFrom<&'a SerializedBytes> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
fn try_from(
s: &'a SerializedBytes
) -> Result<SerializedBytes, <SerializedBytes as TryFrom<&'a SerializedBytes>>::Error>
fn try_from(
s: &'a SerializedBytes
) -> Result<SerializedBytes, <SerializedBytes as TryFrom<&'a SerializedBytes>>::Error>
impl TryFrom<&()> for SerializedBytes
impl TryFrom<&()> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
fn try_from(t: &()) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &()) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&Action> for SerializedBytes
impl TryFrom<&Action> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: &Action) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &Action) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&ActionType> for SerializedBytes
impl TryFrom<&ActionType> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: &ActionType) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &ActionType) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&AgentValidationPkg> for SerializedBytes
impl TryFrom<&AgentValidationPkg> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
t: &AgentValidationPkg
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &AgentValidationPkg
) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&AnyDht> for SerializedBytes
impl TryFrom<&AnyDht> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: &AnyDht) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &AnyDht) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&AnyLinkable> for SerializedBytes
impl TryFrom<&AnyLinkable> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: &AnyLinkable) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &AnyLinkable) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&AppEntryType> for SerializedBytes
impl TryFrom<&AppEntryType> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: &AppEntryType) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &AppEntryType) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&CapClaim> for SerializedBytes
impl TryFrom<&CapClaim> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: &CapClaim) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &CapClaim) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&CapSecret> for SerializedBytes
impl TryFrom<&CapSecret> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: &CapSecret) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &CapSecret) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&ChainFilter<HoloHash<Action>>> for SerializedBytes
impl TryFrom<&ChainFilter<HoloHash<Action>>> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
t: &ChainFilter<HoloHash<Action>>
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &ChainFilter<HoloHash<Action>>
) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&CloseChain> for SerializedBytes
impl TryFrom<&CloseChain> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: &CloseChain) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &CloseChain) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&Create<EntryRateWeight>> for SerializedBytes
impl TryFrom<&Create<EntryRateWeight>> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
t: &Create<EntryRateWeight>
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &Create<EntryRateWeight>
) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&CreateLink<RateWeight>> for SerializedBytes
impl TryFrom<&CreateLink<RateWeight>> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
t: &CreateLink<RateWeight>
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &CreateLink<RateWeight>
) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&Delete<RateWeight>> for SerializedBytes
impl TryFrom<&Delete<RateWeight>> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
t: &Delete<RateWeight>
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &Delete<RateWeight>
) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&DeleteAction> for SerializedBytes
impl TryFrom<&DeleteAction> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: &DeleteAction) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &DeleteAction) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&DeleteLink> for SerializedBytes
impl TryFrom<&DeleteLink> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: &DeleteLink) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &DeleteLink) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&Dna> for SerializedBytes
impl TryFrom<&Dna> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: &Dna) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &Dna) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&Entry> for SerializedBytes
impl TryFrom<&Entry> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: &Entry) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &Entry) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&EntryCreationAction> for SerializedBytes
impl TryFrom<&EntryCreationAction> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
t: &EntryCreationAction
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &EntryCreationAction
) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&EntryDefIndex> for SerializedBytes
impl TryFrom<&EntryDefIndex> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: &EntryDefIndex) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &EntryDefIndex) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&EntryDefsCallbackResult> for SerializedBytes
impl TryFrom<&EntryDefsCallbackResult> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
t: &EntryDefsCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &EntryDefsCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&EntryHashes> for SerializedBytes
impl TryFrom<&EntryHashes> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: &EntryHashes) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &EntryHashes) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&EntryRateWeight> for SerializedBytes
impl TryFrom<&EntryRateWeight> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
t: &EntryRateWeight
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &EntryRateWeight
) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&EntryType> for SerializedBytes
impl TryFrom<&EntryType> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: &EntryType) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &EntryType) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&EntryVisibility> for SerializedBytes
impl TryFrom<&EntryVisibility> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
t: &EntryVisibility
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &EntryVisibility
) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&GenesisSelfCheckData> for SerializedBytes
impl TryFrom<&GenesisSelfCheckData> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
t: &GenesisSelfCheckData
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &GenesisSelfCheckData
) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl<T> TryFrom<&HoloHash<T>> for SerializedByteswhere
T: HashType,
impl<T> TryFrom<&HoloHash<T>> for SerializedByteswhere
T: HashType,
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: &HoloHash<T>) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &HoloHash<T>) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&InitZomesComplete> for SerializedBytes
impl TryFrom<&InitZomesComplete> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
t: &InitZomesComplete
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &InitZomesComplete
) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&LinkTag> for SerializedBytes
impl TryFrom<&LinkTag> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: &LinkTag) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &LinkTag) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&LinkType> for SerializedBytes
impl TryFrom<&LinkType> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: &LinkType) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &LinkType) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&Msg> for SerializedBytes
impl TryFrom<&Msg> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: &Msg) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &Msg) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&Op> for SerializedBytes
impl TryFrom<&Op> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: &Op) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &Op) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&OpenChain> for SerializedBytes
impl TryFrom<&OpenChain> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: &OpenChain) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &OpenChain) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&Post> for SerializedBytes
impl TryFrom<&Post> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: &Post) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &Post) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&PrivMsg> for SerializedBytes
impl TryFrom<&PrivMsg> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: &PrivMsg) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &PrivMsg) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&RateWeight> for SerializedBytes
impl TryFrom<&RateWeight> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: &RateWeight) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &RateWeight) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&Record<SignedHashed<Action>>> for SerializedBytes
impl TryFrom<&Record<SignedHashed<Action>>> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
t: &Record<SignedHashed<Action>>
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &Record<SignedHashed<Action>>
) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&RecordEntry> for SerializedBytes
impl TryFrom<&RecordEntry> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: &RecordEntry) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &RecordEntry) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&RegisterAgentActivity> for SerializedBytes
impl TryFrom<&RegisterAgentActivity> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
t: &RegisterAgentActivity
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &RegisterAgentActivity
) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&RegisterCreateLink> for SerializedBytes
impl TryFrom<&RegisterCreateLink> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
t: &RegisterCreateLink
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &RegisterCreateLink
) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&RegisterDelete> for SerializedBytes
impl TryFrom<&RegisterDelete> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: &RegisterDelete) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &RegisterDelete) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&RegisterDeleteLink> for SerializedBytes
impl TryFrom<&RegisterDeleteLink> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
t: &RegisterDeleteLink
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &RegisterDeleteLink
) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&RegisterUpdate> for SerializedBytes
impl TryFrom<&RegisterUpdate> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: &RegisterUpdate) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &RegisterUpdate) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&ScopedZomeTypesSet> for SerializedBytes
impl TryFrom<&ScopedZomeTypesSet> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
t: &ScopedZomeTypesSet
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &ScopedZomeTypesSet
) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&StoreEntry> for SerializedBytes
impl TryFrom<&StoreEntry> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: &StoreEntry) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &StoreEntry) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&StoreRecord> for SerializedBytes
impl TryFrom<&StoreRecord> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: &StoreRecord) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &StoreRecord) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&Update<EntryRateWeight>> for SerializedBytes
impl TryFrom<&Update<EntryRateWeight>> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
t: &Update<EntryRateWeight>
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &Update<EntryRateWeight>
) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&UpdateAction> for SerializedBytes
impl TryFrom<&UpdateAction> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: &UpdateAction) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &UpdateAction) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&ValidateCallbackResult> for SerializedBytes
impl TryFrom<&ValidateCallbackResult> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
t: &ValidateCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &ValidateCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&VerifySignature> for SerializedBytes
impl TryFrom<&VerifySignature> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
t: &VerifySignature
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &VerifySignature
) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&WeighInput> for SerializedBytes
impl TryFrom<&WeighInput> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: &WeighInput) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &WeighInput) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&X25519PubKey> for SerializedBytes
impl TryFrom<&X25519PubKey> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: &X25519PubKey) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &X25519PubKey) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&X25519XSalsa20Poly1305Decrypt> for SerializedBytes
impl TryFrom<&X25519XSalsa20Poly1305Decrypt> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
t: &X25519XSalsa20Poly1305Decrypt
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &X25519XSalsa20Poly1305Decrypt
) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&XSalsa20Poly1305Decrypt> for SerializedBytes
impl TryFrom<&XSalsa20Poly1305Decrypt> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
t: &XSalsa20Poly1305Decrypt
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &XSalsa20Poly1305Decrypt
) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&XSalsa20Poly1305KeyRef> for SerializedBytes
impl TryFrom<&XSalsa20Poly1305KeyRef> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
t: &XSalsa20Poly1305KeyRef
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &XSalsa20Poly1305KeyRef
) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&XSalsa20Poly1305Nonce> for SerializedBytes
impl TryFrom<&XSalsa20Poly1305Nonce> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
t: &XSalsa20Poly1305Nonce
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &XSalsa20Poly1305Nonce
) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&ZomeId> for SerializedBytes
impl TryFrom<&ZomeId> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: &ZomeId) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &ZomeId) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<&ZomeInfo> for SerializedBytes
impl TryFrom<&ZomeInfo> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: &ZomeInfo) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &ZomeInfo) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<()> for SerializedBytes
impl TryFrom<()> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
fn try_from(t: ()) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: ()) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<Action> for SerializedBytes
impl TryFrom<Action> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: Action) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: Action) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<ActionType> for SerializedBytes
impl TryFrom<ActionType> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: ActionType) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: ActionType) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<AgentValidationPkg> for SerializedBytes
impl TryFrom<AgentValidationPkg> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
t: AgentValidationPkg
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: AgentValidationPkg
) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<AnyDht> for SerializedBytes
impl TryFrom<AnyDht> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: AnyDht) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: AnyDht) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<AnyLinkable> for SerializedBytes
impl TryFrom<AnyLinkable> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: AnyLinkable) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: AnyLinkable) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<AppEntryType> for SerializedBytes
impl TryFrom<AppEntryType> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: AppEntryType) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: AppEntryType) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<CapClaim> for SerializedBytes
impl TryFrom<CapClaim> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: CapClaim) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: CapClaim) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<CapSecret> for SerializedBytes
impl TryFrom<CapSecret> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: CapSecret) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: CapSecret) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<ChainFilter<HoloHash<Action>>> for SerializedBytes
impl TryFrom<ChainFilter<HoloHash<Action>>> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
t: ChainFilter<HoloHash<Action>>
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: ChainFilter<HoloHash<Action>>
) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<CloseChain> for SerializedBytes
impl TryFrom<CloseChain> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: CloseChain) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: CloseChain) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<Create<EntryRateWeight>> for SerializedBytes
impl TryFrom<Create<EntryRateWeight>> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
t: Create<EntryRateWeight>
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: Create<EntryRateWeight>
) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<CreateLink<RateWeight>> for SerializedBytes
impl TryFrom<CreateLink<RateWeight>> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
t: CreateLink<RateWeight>
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: CreateLink<RateWeight>
) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<Delete<RateWeight>> for SerializedBytes
impl TryFrom<Delete<RateWeight>> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
t: Delete<RateWeight>
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: Delete<RateWeight>
) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<DeleteAction> for SerializedBytes
impl TryFrom<DeleteAction> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: DeleteAction) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: DeleteAction) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<DeleteLink> for SerializedBytes
impl TryFrom<DeleteLink> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: DeleteLink) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: DeleteLink) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<Dna> for SerializedBytes
impl TryFrom<Dna> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: Dna) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: Dna) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<Entry> for SerializedBytes
impl TryFrom<Entry> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: Entry) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: Entry) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<EntryCreationAction> for SerializedBytes
impl TryFrom<EntryCreationAction> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
t: EntryCreationAction
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: EntryCreationAction
) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<EntryDefIndex> for SerializedBytes
impl TryFrom<EntryDefIndex> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: EntryDefIndex) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: EntryDefIndex) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<EntryDefsCallbackResult> for SerializedBytes
impl TryFrom<EntryDefsCallbackResult> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
t: EntryDefsCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: EntryDefsCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<EntryHashes> for SerializedBytes
impl TryFrom<EntryHashes> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: EntryHashes) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: EntryHashes) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<EntryRateWeight> for SerializedBytes
impl TryFrom<EntryRateWeight> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: EntryRateWeight) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: EntryRateWeight) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<EntryType> for SerializedBytes
impl TryFrom<EntryType> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: EntryType) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: EntryType) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<EntryVisibility> for SerializedBytes
impl TryFrom<EntryVisibility> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: EntryVisibility) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: EntryVisibility) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<GenesisSelfCheckData> for SerializedBytes
impl TryFrom<GenesisSelfCheckData> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
t: GenesisSelfCheckData
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: GenesisSelfCheckData
) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl<T> TryFrom<HoloHash<T>> for SerializedByteswhere
T: HashType,
impl<T> TryFrom<HoloHash<T>> for SerializedByteswhere
T: HashType,
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: HoloHash<T>) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: HoloHash<T>) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<InitZomesComplete> for SerializedBytes
impl TryFrom<InitZomesComplete> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
t: InitZomesComplete
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: InitZomesComplete
) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<LinkTag> for SerializedBytes
impl TryFrom<LinkTag> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: LinkTag) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: LinkTag) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<LinkType> for SerializedBytes
impl TryFrom<LinkType> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: LinkType) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: LinkType) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<Msg> for SerializedBytes
impl TryFrom<Msg> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: Msg) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: Msg) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<Op> for SerializedBytes
impl TryFrom<Op> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: Op) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: Op) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<OpenChain> for SerializedBytes
impl TryFrom<OpenChain> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: OpenChain) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: OpenChain) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<Post> for SerializedBytes
impl TryFrom<Post> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: Post) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: Post) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<PrivMsg> for SerializedBytes
impl TryFrom<PrivMsg> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: PrivMsg) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: PrivMsg) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<RateWeight> for SerializedBytes
impl TryFrom<RateWeight> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: RateWeight) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: RateWeight) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<Record<SignedHashed<Action>>> for SerializedBytes
impl TryFrom<Record<SignedHashed<Action>>> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
t: Record<SignedHashed<Action>>
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: Record<SignedHashed<Action>>
) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<RecordEntry> for SerializedBytes
impl TryFrom<RecordEntry> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: RecordEntry) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: RecordEntry) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<RegisterAgentActivity> for SerializedBytes
impl TryFrom<RegisterAgentActivity> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
t: RegisterAgentActivity
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: RegisterAgentActivity
) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<RegisterCreateLink> for SerializedBytes
impl TryFrom<RegisterCreateLink> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
t: RegisterCreateLink
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: RegisterCreateLink
) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<RegisterDelete> for SerializedBytes
impl TryFrom<RegisterDelete> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: RegisterDelete) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: RegisterDelete) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<RegisterDeleteLink> for SerializedBytes
impl TryFrom<RegisterDeleteLink> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
t: RegisterDeleteLink
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: RegisterDeleteLink
) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<RegisterUpdate> for SerializedBytes
impl TryFrom<RegisterUpdate> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: RegisterUpdate) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: RegisterUpdate) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<ScopedZomeTypesSet> for SerializedBytes
impl TryFrom<ScopedZomeTypesSet> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
t: ScopedZomeTypesSet
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: ScopedZomeTypesSet
) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<SerializedBytes> for ()
impl TryFrom<SerializedBytes> for ()
type Error = SerializedBytesError
type Error = SerializedBytesError
fn try_from(sb: SerializedBytes) -> Result<(), SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<(), SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for Action
impl TryFrom<SerializedBytes> for Action
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(sb: SerializedBytes) -> Result<Action, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<Action, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for ActionType
impl TryFrom<SerializedBytes> for ActionType
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(sb: SerializedBytes) -> Result<ActionType, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<ActionType, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for AgentValidationPkg
impl TryFrom<SerializedBytes> for AgentValidationPkg
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
sb: SerializedBytes
) -> Result<AgentValidationPkg, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<AgentValidationPkg, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for AnyDht
impl TryFrom<SerializedBytes> for AnyDht
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(sb: SerializedBytes) -> Result<AnyDht, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<AnyDht, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for AnyLinkable
impl TryFrom<SerializedBytes> for AnyLinkable
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(sb: SerializedBytes) -> Result<AnyLinkable, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<AnyLinkable, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for AppEntryBytes
impl TryFrom<SerializedBytes> for AppEntryBytes
type Error = EntryError
type Error = EntryError
sourcefn try_from(sb: SerializedBytes) -> Result<AppEntryBytes, EntryError>
fn try_from(sb: SerializedBytes) -> Result<AppEntryBytes, EntryError>
sourceimpl TryFrom<SerializedBytes> for AppEntryType
impl TryFrom<SerializedBytes> for AppEntryType
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(sb: SerializedBytes) -> Result<AppEntryType, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<AppEntryType, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for CapClaim
impl TryFrom<SerializedBytes> for CapClaim
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(sb: SerializedBytes) -> Result<CapClaim, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<CapClaim, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for CapSecret
impl TryFrom<SerializedBytes> for CapSecret
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(sb: SerializedBytes) -> Result<CapSecret, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<CapSecret, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for ChainFilter<HoloHash<Action>>
impl TryFrom<SerializedBytes> for ChainFilter<HoloHash<Action>>
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
sb: SerializedBytes
) -> Result<ChainFilter<HoloHash<Action>>, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<ChainFilter<HoloHash<Action>>, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for CloseChain
impl TryFrom<SerializedBytes> for CloseChain
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(sb: SerializedBytes) -> Result<CloseChain, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<CloseChain, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for Create<EntryRateWeight>
impl TryFrom<SerializedBytes> for Create<EntryRateWeight>
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
sb: SerializedBytes
) -> Result<Create<EntryRateWeight>, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<Create<EntryRateWeight>, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for CreateLink<RateWeight>
impl TryFrom<SerializedBytes> for CreateLink<RateWeight>
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
sb: SerializedBytes
) -> Result<CreateLink<RateWeight>, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<CreateLink<RateWeight>, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for Delete<RateWeight>
impl TryFrom<SerializedBytes> for Delete<RateWeight>
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
sb: SerializedBytes
) -> Result<Delete<RateWeight>, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<Delete<RateWeight>, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for DeleteAction
impl TryFrom<SerializedBytes> for DeleteAction
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(sb: SerializedBytes) -> Result<DeleteAction, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<DeleteAction, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for DeleteLink
impl TryFrom<SerializedBytes> for DeleteLink
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(sb: SerializedBytes) -> Result<DeleteLink, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<DeleteLink, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for Dna
impl TryFrom<SerializedBytes> for Dna
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(sb: SerializedBytes) -> Result<Dna, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<Dna, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for Entry
impl TryFrom<SerializedBytes> for Entry
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(sb: SerializedBytes) -> Result<Entry, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<Entry, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for EntryCreationAction
impl TryFrom<SerializedBytes> for EntryCreationAction
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
sb: SerializedBytes
) -> Result<EntryCreationAction, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<EntryCreationAction, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for EntryDefIndex
impl TryFrom<SerializedBytes> for EntryDefIndex
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(sb: SerializedBytes) -> Result<EntryDefIndex, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<EntryDefIndex, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for EntryDefsCallbackResult
impl TryFrom<SerializedBytes> for EntryDefsCallbackResult
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
sb: SerializedBytes
) -> Result<EntryDefsCallbackResult, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<EntryDefsCallbackResult, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for EntryHashes
impl TryFrom<SerializedBytes> for EntryHashes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(sb: SerializedBytes) -> Result<EntryHashes, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<EntryHashes, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for EntryRateWeight
impl TryFrom<SerializedBytes> for EntryRateWeight
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
sb: SerializedBytes
) -> Result<EntryRateWeight, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<EntryRateWeight, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for EntryType
impl TryFrom<SerializedBytes> for EntryType
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(sb: SerializedBytes) -> Result<EntryType, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<EntryType, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for EntryVisibility
impl TryFrom<SerializedBytes> for EntryVisibility
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
sb: SerializedBytes
) -> Result<EntryVisibility, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<EntryVisibility, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for GenesisSelfCheckData
impl TryFrom<SerializedBytes> for GenesisSelfCheckData
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
sb: SerializedBytes
) -> Result<GenesisSelfCheckData, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<GenesisSelfCheckData, SerializedBytesError>
sourceimpl<T> TryFrom<SerializedBytes> for HoloHash<T>where
T: HashType,
impl<T> TryFrom<SerializedBytes> for HoloHash<T>where
T: HashType,
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(sb: SerializedBytes) -> Result<HoloHash<T>, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<HoloHash<T>, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for InitZomesComplete
impl TryFrom<SerializedBytes> for InitZomesComplete
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
sb: SerializedBytes
) -> Result<InitZomesComplete, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<InitZomesComplete, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for LinkTag
impl TryFrom<SerializedBytes> for LinkTag
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(sb: SerializedBytes) -> Result<LinkTag, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<LinkTag, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for LinkType
impl TryFrom<SerializedBytes> for LinkType
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(sb: SerializedBytes) -> Result<LinkType, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<LinkType, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for Msg
impl TryFrom<SerializedBytes> for Msg
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(sb: SerializedBytes) -> Result<Msg, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<Msg, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for Op
impl TryFrom<SerializedBytes> for Op
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(sb: SerializedBytes) -> Result<Op, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<Op, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for OpenChain
impl TryFrom<SerializedBytes> for OpenChain
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(sb: SerializedBytes) -> Result<OpenChain, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<OpenChain, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for Post
impl TryFrom<SerializedBytes> for Post
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(sb: SerializedBytes) -> Result<Post, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<Post, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for PrivMsg
impl TryFrom<SerializedBytes> for PrivMsg
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(sb: SerializedBytes) -> Result<PrivMsg, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<PrivMsg, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for RateWeight
impl TryFrom<SerializedBytes> for RateWeight
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(sb: SerializedBytes) -> Result<RateWeight, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<RateWeight, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for Record<SignedHashed<Action>>
impl TryFrom<SerializedBytes> for Record<SignedHashed<Action>>
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
sb: SerializedBytes
) -> Result<Record<SignedHashed<Action>>, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<Record<SignedHashed<Action>>, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for RecordEntry
impl TryFrom<SerializedBytes> for RecordEntry
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(sb: SerializedBytes) -> Result<RecordEntry, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<RecordEntry, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for RegisterAgentActivity
impl TryFrom<SerializedBytes> for RegisterAgentActivity
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
sb: SerializedBytes
) -> Result<RegisterAgentActivity, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<RegisterAgentActivity, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for RegisterCreateLink
impl TryFrom<SerializedBytes> for RegisterCreateLink
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
sb: SerializedBytes
) -> Result<RegisterCreateLink, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<RegisterCreateLink, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for RegisterDelete
impl TryFrom<SerializedBytes> for RegisterDelete
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(sb: SerializedBytes) -> Result<RegisterDelete, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<RegisterDelete, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for RegisterDeleteLink
impl TryFrom<SerializedBytes> for RegisterDeleteLink
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
sb: SerializedBytes
) -> Result<RegisterDeleteLink, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<RegisterDeleteLink, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for RegisterUpdate
impl TryFrom<SerializedBytes> for RegisterUpdate
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(sb: SerializedBytes) -> Result<RegisterUpdate, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<RegisterUpdate, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for ScopedZomeTypesSet
impl TryFrom<SerializedBytes> for ScopedZomeTypesSet
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
sb: SerializedBytes
) -> Result<ScopedZomeTypesSet, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<ScopedZomeTypesSet, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for StoreEntry
impl TryFrom<SerializedBytes> for StoreEntry
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(sb: SerializedBytes) -> Result<StoreEntry, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<StoreEntry, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for StoreRecord
impl TryFrom<SerializedBytes> for StoreRecord
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(sb: SerializedBytes) -> Result<StoreRecord, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<StoreRecord, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for Update<EntryRateWeight>
impl TryFrom<SerializedBytes> for Update<EntryRateWeight>
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
sb: SerializedBytes
) -> Result<Update<EntryRateWeight>, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<Update<EntryRateWeight>, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for UpdateAction
impl TryFrom<SerializedBytes> for UpdateAction
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(sb: SerializedBytes) -> Result<UpdateAction, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<UpdateAction, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for ValidateCallbackResult
impl TryFrom<SerializedBytes> for ValidateCallbackResult
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
sb: SerializedBytes
) -> Result<ValidateCallbackResult, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<ValidateCallbackResult, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for VerifySignature
impl TryFrom<SerializedBytes> for VerifySignature
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
sb: SerializedBytes
) -> Result<VerifySignature, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<VerifySignature, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for WeighInput
impl TryFrom<SerializedBytes> for WeighInput
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(sb: SerializedBytes) -> Result<WeighInput, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<WeighInput, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for X25519PubKey
impl TryFrom<SerializedBytes> for X25519PubKey
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(sb: SerializedBytes) -> Result<X25519PubKey, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<X25519PubKey, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for X25519XSalsa20Poly1305Decrypt
impl TryFrom<SerializedBytes> for X25519XSalsa20Poly1305Decrypt
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
sb: SerializedBytes
) -> Result<X25519XSalsa20Poly1305Decrypt, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<X25519XSalsa20Poly1305Decrypt, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for XSalsa20Poly1305Decrypt
impl TryFrom<SerializedBytes> for XSalsa20Poly1305Decrypt
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
sb: SerializedBytes
) -> Result<XSalsa20Poly1305Decrypt, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<XSalsa20Poly1305Decrypt, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for XSalsa20Poly1305KeyRef
impl TryFrom<SerializedBytes> for XSalsa20Poly1305KeyRef
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
sb: SerializedBytes
) -> Result<XSalsa20Poly1305KeyRef, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<XSalsa20Poly1305KeyRef, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for XSalsa20Poly1305Nonce
impl TryFrom<SerializedBytes> for XSalsa20Poly1305Nonce
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
sb: SerializedBytes
) -> Result<XSalsa20Poly1305Nonce, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<XSalsa20Poly1305Nonce, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for ZomeId
impl TryFrom<SerializedBytes> for ZomeId
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(sb: SerializedBytes) -> Result<ZomeId, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<ZomeId, SerializedBytesError>
sourceimpl TryFrom<SerializedBytes> for ZomeInfo
impl TryFrom<SerializedBytes> for ZomeInfo
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(sb: SerializedBytes) -> Result<ZomeInfo, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<ZomeInfo, SerializedBytesError>
sourceimpl TryFrom<StoreEntry> for SerializedBytes
impl TryFrom<StoreEntry> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: StoreEntry) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: StoreEntry) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<StoreRecord> for SerializedBytes
impl TryFrom<StoreRecord> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: StoreRecord) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: StoreRecord) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<Update<EntryRateWeight>> for SerializedBytes
impl TryFrom<Update<EntryRateWeight>> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
t: Update<EntryRateWeight>
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: Update<EntryRateWeight>
) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<UpdateAction> for SerializedBytes
impl TryFrom<UpdateAction> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: UpdateAction) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: UpdateAction) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<ValidateCallbackResult> for SerializedBytes
impl TryFrom<ValidateCallbackResult> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
t: ValidateCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: ValidateCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<VerifySignature> for SerializedBytes
impl TryFrom<VerifySignature> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: VerifySignature) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: VerifySignature) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<WeighInput> for SerializedBytes
impl TryFrom<WeighInput> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: WeighInput) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: WeighInput) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<X25519PubKey> for SerializedBytes
impl TryFrom<X25519PubKey> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: X25519PubKey) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: X25519PubKey) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<X25519XSalsa20Poly1305Decrypt> for SerializedBytes
impl TryFrom<X25519XSalsa20Poly1305Decrypt> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
t: X25519XSalsa20Poly1305Decrypt
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: X25519XSalsa20Poly1305Decrypt
) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<XSalsa20Poly1305Decrypt> for SerializedBytes
impl TryFrom<XSalsa20Poly1305Decrypt> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
t: XSalsa20Poly1305Decrypt
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: XSalsa20Poly1305Decrypt
) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<XSalsa20Poly1305KeyRef> for SerializedBytes
impl TryFrom<XSalsa20Poly1305KeyRef> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
t: XSalsa20Poly1305KeyRef
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: XSalsa20Poly1305KeyRef
) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<XSalsa20Poly1305Nonce> for SerializedBytes
impl TryFrom<XSalsa20Poly1305Nonce> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(
t: XSalsa20Poly1305Nonce
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: XSalsa20Poly1305Nonce
) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<ZomeId> for SerializedBytes
impl TryFrom<ZomeId> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: ZomeId) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: ZomeId) -> Result<SerializedBytes, SerializedBytesError>
sourceimpl TryFrom<ZomeInfo> for SerializedBytes
impl TryFrom<ZomeInfo> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
sourcefn try_from(t: ZomeInfo) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: ZomeInfo) -> Result<SerializedBytes, SerializedBytesError>
impl Eq for SerializedBytes
impl StructuralEq for SerializedBytes
impl StructuralPartialEq for SerializedBytes
Auto Trait Implementations
impl RefUnwindSafe for SerializedBytes
impl Send for SerializedBytes
impl Sync for SerializedBytes
impl Unpin for SerializedBytes
impl UnwindSafe for SerializedBytes
Blanket Implementations
impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
type ArchivedMetadata = ()
type ArchivedMetadata = ()
fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
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
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>
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.