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§
source§impl AsRef<SerializedBytes> for AppEntryBytes
impl AsRef<SerializedBytes> for AppEntryBytes
source§fn as_ref(&self) -> &SerializedBytes
fn as_ref(&self) -> &SerializedBytes
source§impl Borrow<SerializedBytes> for AppEntryBytes
impl Borrow<SerializedBytes> for AppEntryBytes
source§fn 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 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl 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>,
source§impl From<AppEntryBytes> for SerializedBytes
impl From<AppEntryBytes> for SerializedBytes
source§fn 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
§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 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read more§impl 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>
source§impl TryFrom<&Action> for SerializedBytes
impl TryFrom<&Action> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: &Action) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &Action) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&ActionType> for SerializedBytes
impl TryFrom<&ActionType> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: &ActionType) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &ActionType) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&AgentValidationPkg> for SerializedBytes
impl TryFrom<&AgentValidationPkg> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
t: &AgentValidationPkg
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &AgentValidationPkg
) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&AnyDht> for SerializedBytes
impl TryFrom<&AnyDht> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: &AnyDht) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &AnyDht) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&AnyLinkable> for SerializedBytes
impl TryFrom<&AnyLinkable> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: &AnyLinkable) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &AnyLinkable) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&AppEntryDef> for SerializedBytes
impl TryFrom<&AppEntryDef> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: &AppEntryDef) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &AppEntryDef) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&CapClaim> for SerializedBytes
impl TryFrom<&CapClaim> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: &CapClaim) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &CapClaim) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&CapSecret> for SerializedBytes
impl TryFrom<&CapSecret> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: &CapSecret) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &CapSecret) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&ChainFilter<HoloHash<Action>>> for SerializedBytes
impl TryFrom<&ChainFilter<HoloHash<Action>>> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
t: &ChainFilter<HoloHash<Action>>
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &ChainFilter<HoloHash<Action>>
) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&CloseChain> for SerializedBytes
impl TryFrom<&CloseChain> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: &CloseChain) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &CloseChain) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&Create<EntryRateWeight>> for SerializedBytes
impl TryFrom<&Create<EntryRateWeight>> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
t: &Create<EntryRateWeight>
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &Create<EntryRateWeight>
) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&CreateLink<RateWeight>> for SerializedBytes
impl TryFrom<&CreateLink<RateWeight>> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
t: &CreateLink<RateWeight>
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &CreateLink<RateWeight>
) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&Delete<RateWeight>> for SerializedBytes
impl TryFrom<&Delete<RateWeight>> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
t: &Delete<RateWeight>
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &Delete<RateWeight>
) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&DeleteAction> for SerializedBytes
impl TryFrom<&DeleteAction> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: &DeleteAction) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &DeleteAction) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&DeleteLink> for SerializedBytes
impl TryFrom<&DeleteLink> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: &DeleteLink) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &DeleteLink) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&Dna> for SerializedBytes
impl TryFrom<&Dna> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: &Dna) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &Dna) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&Entry> for SerializedBytes
impl TryFrom<&Entry> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: &Entry) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &Entry) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&EntryCreationAction> for SerializedBytes
impl TryFrom<&EntryCreationAction> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
t: &EntryCreationAction
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &EntryCreationAction
) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&EntryDefIndex> for SerializedBytes
impl TryFrom<&EntryDefIndex> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: &EntryDefIndex) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &EntryDefIndex) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&EntryDefsCallbackResult> for SerializedBytes
impl TryFrom<&EntryDefsCallbackResult> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
t: &EntryDefsCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &EntryDefsCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&EntryHashes> for SerializedBytes
impl TryFrom<&EntryHashes> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: &EntryHashes) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &EntryHashes) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&EntryRateWeight> for SerializedBytes
impl TryFrom<&EntryRateWeight> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
t: &EntryRateWeight
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &EntryRateWeight
) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&EntryType> for SerializedBytes
impl TryFrom<&EntryType> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: &EntryType) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &EntryType) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&EntryVisibility> for SerializedBytes
impl TryFrom<&EntryVisibility> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
t: &EntryVisibility
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &EntryVisibility
) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&GenesisSelfCheckData> for SerializedBytes
impl TryFrom<&GenesisSelfCheckData> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
t: &GenesisSelfCheckData
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &GenesisSelfCheckData
) -> Result<SerializedBytes, SerializedBytesError>
source§impl<T> TryFrom<&HoloHash<T>> for SerializedByteswhere
T: HashType,
impl<T> TryFrom<&HoloHash<T>> for SerializedByteswhere
T: HashType,
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: &HoloHash<T>) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &HoloHash<T>) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&InitZomesComplete> for SerializedBytes
impl TryFrom<&InitZomesComplete> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
t: &InitZomesComplete
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &InitZomesComplete
) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&LinkTag> for SerializedBytes
impl TryFrom<&LinkTag> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: &LinkTag) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &LinkTag) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&LinkType> for SerializedBytes
impl TryFrom<&LinkType> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: &LinkType) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &LinkType) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&Msg> for SerializedBytes
impl TryFrom<&Msg> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: &Msg) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &Msg) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&Op> for SerializedBytes
impl TryFrom<&Op> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: &Op) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &Op) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&OpenChain> for SerializedBytes
impl TryFrom<&OpenChain> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: &OpenChain) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &OpenChain) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&Post> for SerializedBytes
impl TryFrom<&Post> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: &Post) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &Post) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&PrivMsg> for SerializedBytes
impl TryFrom<&PrivMsg> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: &PrivMsg) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &PrivMsg) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&RateWeight> for SerializedBytes
impl TryFrom<&RateWeight> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: &RateWeight) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &RateWeight) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&Record<SignedHashed<Action>>> for SerializedBytes
impl TryFrom<&Record<SignedHashed<Action>>> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
t: &Record<SignedHashed<Action>>
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &Record<SignedHashed<Action>>
) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&RecordEntry> for SerializedBytes
impl TryFrom<&RecordEntry> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: &RecordEntry) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &RecordEntry) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&RegisterAgentActivity> for SerializedBytes
impl TryFrom<&RegisterAgentActivity> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
t: &RegisterAgentActivity
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &RegisterAgentActivity
) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&RegisterCreateLink> for SerializedBytes
impl TryFrom<&RegisterCreateLink> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
t: &RegisterCreateLink
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &RegisterCreateLink
) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&RegisterDelete> for SerializedBytes
impl TryFrom<&RegisterDelete> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: &RegisterDelete) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &RegisterDelete) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&RegisterDeleteLink> for SerializedBytes
impl TryFrom<&RegisterDeleteLink> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
t: &RegisterDeleteLink
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &RegisterDeleteLink
) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&RegisterUpdate> for SerializedBytes
impl TryFrom<&RegisterUpdate> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: &RegisterUpdate) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &RegisterUpdate) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&ScopedZomeTypesSet> for SerializedBytes
impl TryFrom<&ScopedZomeTypesSet> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
t: &ScopedZomeTypesSet
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &ScopedZomeTypesSet
) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&StoreEntry> for SerializedBytes
impl TryFrom<&StoreEntry> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: &StoreEntry) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &StoreEntry) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&StoreRecord> for SerializedBytes
impl TryFrom<&StoreRecord> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: &StoreRecord) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &StoreRecord) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&Update<EntryRateWeight>> for SerializedBytes
impl TryFrom<&Update<EntryRateWeight>> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
t: &Update<EntryRateWeight>
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &Update<EntryRateWeight>
) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&UpdateAction> for SerializedBytes
impl TryFrom<&UpdateAction> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: &UpdateAction) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &UpdateAction) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&ValidateCallbackResult> for SerializedBytes
impl TryFrom<&ValidateCallbackResult> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
t: &ValidateCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &ValidateCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&VerifySignature> for SerializedBytes
impl TryFrom<&VerifySignature> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
t: &VerifySignature
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &VerifySignature
) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&WeighInput> for SerializedBytes
impl TryFrom<&WeighInput> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: &WeighInput) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &WeighInput) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&X25519PubKey> for SerializedBytes
impl TryFrom<&X25519PubKey> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: &X25519PubKey) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &X25519PubKey) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&X25519XSalsa20Poly1305Decrypt> for SerializedBytes
impl TryFrom<&X25519XSalsa20Poly1305Decrypt> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
t: &X25519XSalsa20Poly1305Decrypt
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &X25519XSalsa20Poly1305Decrypt
) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&XSalsa20Poly1305Decrypt> for SerializedBytes
impl TryFrom<&XSalsa20Poly1305Decrypt> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
t: &XSalsa20Poly1305Decrypt
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &XSalsa20Poly1305Decrypt
) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&XSalsa20Poly1305KeyRef> for SerializedBytes
impl TryFrom<&XSalsa20Poly1305KeyRef> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
t: &XSalsa20Poly1305KeyRef
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &XSalsa20Poly1305KeyRef
) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&XSalsa20Poly1305Nonce> for SerializedBytes
impl TryFrom<&XSalsa20Poly1305Nonce> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
t: &XSalsa20Poly1305Nonce
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &XSalsa20Poly1305Nonce
) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&ZomeIndex> for SerializedBytes
impl TryFrom<&ZomeIndex> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: &ZomeIndex) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &ZomeIndex) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<&ZomeInfo> for SerializedBytes
impl TryFrom<&ZomeInfo> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn 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>
source§impl TryFrom<Action> for SerializedBytes
impl TryFrom<Action> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: Action) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: Action) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<ActionType> for SerializedBytes
impl TryFrom<ActionType> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: ActionType) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: ActionType) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<AgentValidationPkg> for SerializedBytes
impl TryFrom<AgentValidationPkg> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
t: AgentValidationPkg
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: AgentValidationPkg
) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<AnyDht> for SerializedBytes
impl TryFrom<AnyDht> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: AnyDht) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: AnyDht) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<AnyLinkable> for SerializedBytes
impl TryFrom<AnyLinkable> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: AnyLinkable) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: AnyLinkable) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<AppEntryDef> for SerializedBytes
impl TryFrom<AppEntryDef> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: AppEntryDef) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: AppEntryDef) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<CapClaim> for SerializedBytes
impl TryFrom<CapClaim> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: CapClaim) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: CapClaim) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<CapSecret> for SerializedBytes
impl TryFrom<CapSecret> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: CapSecret) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: CapSecret) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<ChainFilter<HoloHash<Action>>> for SerializedBytes
impl TryFrom<ChainFilter<HoloHash<Action>>> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
t: ChainFilter<HoloHash<Action>>
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: ChainFilter<HoloHash<Action>>
) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<CloseChain> for SerializedBytes
impl TryFrom<CloseChain> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: CloseChain) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: CloseChain) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<Create<EntryRateWeight>> for SerializedBytes
impl TryFrom<Create<EntryRateWeight>> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
t: Create<EntryRateWeight>
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: Create<EntryRateWeight>
) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<CreateLink<RateWeight>> for SerializedBytes
impl TryFrom<CreateLink<RateWeight>> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
t: CreateLink<RateWeight>
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: CreateLink<RateWeight>
) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<Delete<RateWeight>> for SerializedBytes
impl TryFrom<Delete<RateWeight>> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
t: Delete<RateWeight>
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: Delete<RateWeight>
) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<DeleteAction> for SerializedBytes
impl TryFrom<DeleteAction> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: DeleteAction) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: DeleteAction) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<DeleteLink> for SerializedBytes
impl TryFrom<DeleteLink> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: DeleteLink) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: DeleteLink) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<Dna> for SerializedBytes
impl TryFrom<Dna> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: Dna) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: Dna) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<Entry> for SerializedBytes
impl TryFrom<Entry> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: Entry) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: Entry) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<EntryCreationAction> for SerializedBytes
impl TryFrom<EntryCreationAction> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
t: EntryCreationAction
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: EntryCreationAction
) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<EntryDefIndex> for SerializedBytes
impl TryFrom<EntryDefIndex> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: EntryDefIndex) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: EntryDefIndex) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<EntryDefsCallbackResult> for SerializedBytes
impl TryFrom<EntryDefsCallbackResult> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
t: EntryDefsCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: EntryDefsCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<EntryHashes> for SerializedBytes
impl TryFrom<EntryHashes> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: EntryHashes) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: EntryHashes) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<EntryRateWeight> for SerializedBytes
impl TryFrom<EntryRateWeight> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: EntryRateWeight) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: EntryRateWeight) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<EntryType> for SerializedBytes
impl TryFrom<EntryType> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: EntryType) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: EntryType) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<EntryVisibility> for SerializedBytes
impl TryFrom<EntryVisibility> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: EntryVisibility) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: EntryVisibility) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<GenesisSelfCheckData> for SerializedBytes
impl TryFrom<GenesisSelfCheckData> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
t: GenesisSelfCheckData
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: GenesisSelfCheckData
) -> Result<SerializedBytes, SerializedBytesError>
source§impl<T> TryFrom<HoloHash<T>> for SerializedByteswhere
T: HashType,
impl<T> TryFrom<HoloHash<T>> for SerializedByteswhere
T: HashType,
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: HoloHash<T>) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: HoloHash<T>) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<InitZomesComplete> for SerializedBytes
impl TryFrom<InitZomesComplete> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
t: InitZomesComplete
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: InitZomesComplete
) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<LinkTag> for SerializedBytes
impl TryFrom<LinkTag> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: LinkTag) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: LinkTag) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<LinkType> for SerializedBytes
impl TryFrom<LinkType> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: LinkType) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: LinkType) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<Msg> for SerializedBytes
impl TryFrom<Msg> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: Msg) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: Msg) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<Op> for SerializedBytes
impl TryFrom<Op> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: Op) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: Op) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<OpenChain> for SerializedBytes
impl TryFrom<OpenChain> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: OpenChain) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: OpenChain) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<Post> for SerializedBytes
impl TryFrom<Post> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: Post) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: Post) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<PrivMsg> for SerializedBytes
impl TryFrom<PrivMsg> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: PrivMsg) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: PrivMsg) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<RateWeight> for SerializedBytes
impl TryFrom<RateWeight> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: RateWeight) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: RateWeight) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<Record<SignedHashed<Action>>> for SerializedBytes
impl TryFrom<Record<SignedHashed<Action>>> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
t: Record<SignedHashed<Action>>
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: Record<SignedHashed<Action>>
) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<RecordEntry> for SerializedBytes
impl TryFrom<RecordEntry> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: RecordEntry) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: RecordEntry) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<RegisterAgentActivity> for SerializedBytes
impl TryFrom<RegisterAgentActivity> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
t: RegisterAgentActivity
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: RegisterAgentActivity
) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<RegisterCreateLink> for SerializedBytes
impl TryFrom<RegisterCreateLink> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
t: RegisterCreateLink
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: RegisterCreateLink
) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<RegisterDelete> for SerializedBytes
impl TryFrom<RegisterDelete> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: RegisterDelete) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: RegisterDelete) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<RegisterDeleteLink> for SerializedBytes
impl TryFrom<RegisterDeleteLink> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
t: RegisterDeleteLink
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: RegisterDeleteLink
) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<RegisterUpdate> for SerializedBytes
impl TryFrom<RegisterUpdate> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: RegisterUpdate) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: RegisterUpdate) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<ScopedZomeTypesSet> for SerializedBytes
impl TryFrom<ScopedZomeTypesSet> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn 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>
source§impl TryFrom<SerializedBytes> for Action
impl TryFrom<SerializedBytes> for Action
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(sb: SerializedBytes) -> Result<Action, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<Action, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for ActionType
impl TryFrom<SerializedBytes> for ActionType
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(sb: SerializedBytes) -> Result<ActionType, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<ActionType, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for AgentValidationPkg
impl TryFrom<SerializedBytes> for AgentValidationPkg
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
sb: SerializedBytes
) -> Result<AgentValidationPkg, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<AgentValidationPkg, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for AnyDht
impl TryFrom<SerializedBytes> for AnyDht
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(sb: SerializedBytes) -> Result<AnyDht, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<AnyDht, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for AnyLinkable
impl TryFrom<SerializedBytes> for AnyLinkable
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(sb: SerializedBytes) -> Result<AnyLinkable, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<AnyLinkable, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for AppEntryBytes
impl TryFrom<SerializedBytes> for AppEntryBytes
§type Error = EntryError
type Error = EntryError
source§fn try_from(sb: SerializedBytes) -> Result<AppEntryBytes, EntryError>
fn try_from(sb: SerializedBytes) -> Result<AppEntryBytes, EntryError>
source§impl TryFrom<SerializedBytes> for AppEntryDef
impl TryFrom<SerializedBytes> for AppEntryDef
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(sb: SerializedBytes) -> Result<AppEntryDef, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<AppEntryDef, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for CapClaim
impl TryFrom<SerializedBytes> for CapClaim
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(sb: SerializedBytes) -> Result<CapClaim, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<CapClaim, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for CapSecret
impl TryFrom<SerializedBytes> for CapSecret
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(sb: SerializedBytes) -> Result<CapSecret, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<CapSecret, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for ChainFilter<HoloHash<Action>>
impl TryFrom<SerializedBytes> for ChainFilter<HoloHash<Action>>
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
sb: SerializedBytes
) -> Result<ChainFilter<HoloHash<Action>>, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<ChainFilter<HoloHash<Action>>, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for CloseChain
impl TryFrom<SerializedBytes> for CloseChain
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(sb: SerializedBytes) -> Result<CloseChain, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<CloseChain, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for Create<EntryRateWeight>
impl TryFrom<SerializedBytes> for Create<EntryRateWeight>
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
sb: SerializedBytes
) -> Result<Create<EntryRateWeight>, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<Create<EntryRateWeight>, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for CreateLink<RateWeight>
impl TryFrom<SerializedBytes> for CreateLink<RateWeight>
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
sb: SerializedBytes
) -> Result<CreateLink<RateWeight>, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<CreateLink<RateWeight>, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for Delete<RateWeight>
impl TryFrom<SerializedBytes> for Delete<RateWeight>
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
sb: SerializedBytes
) -> Result<Delete<RateWeight>, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<Delete<RateWeight>, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for DeleteAction
impl TryFrom<SerializedBytes> for DeleteAction
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(sb: SerializedBytes) -> Result<DeleteAction, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<DeleteAction, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for DeleteLink
impl TryFrom<SerializedBytes> for DeleteLink
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(sb: SerializedBytes) -> Result<DeleteLink, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<DeleteLink, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for Dna
impl TryFrom<SerializedBytes> for Dna
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(sb: SerializedBytes) -> Result<Dna, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<Dna, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for Entry
impl TryFrom<SerializedBytes> for Entry
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(sb: SerializedBytes) -> Result<Entry, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<Entry, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for EntryCreationAction
impl TryFrom<SerializedBytes> for EntryCreationAction
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
sb: SerializedBytes
) -> Result<EntryCreationAction, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<EntryCreationAction, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for EntryDefIndex
impl TryFrom<SerializedBytes> for EntryDefIndex
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(sb: SerializedBytes) -> Result<EntryDefIndex, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<EntryDefIndex, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for EntryDefsCallbackResult
impl TryFrom<SerializedBytes> for EntryDefsCallbackResult
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
sb: SerializedBytes
) -> Result<EntryDefsCallbackResult, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<EntryDefsCallbackResult, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for EntryHashes
impl TryFrom<SerializedBytes> for EntryHashes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(sb: SerializedBytes) -> Result<EntryHashes, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<EntryHashes, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for EntryRateWeight
impl TryFrom<SerializedBytes> for EntryRateWeight
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
sb: SerializedBytes
) -> Result<EntryRateWeight, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<EntryRateWeight, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for EntryType
impl TryFrom<SerializedBytes> for EntryType
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(sb: SerializedBytes) -> Result<EntryType, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<EntryType, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for EntryVisibility
impl TryFrom<SerializedBytes> for EntryVisibility
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
sb: SerializedBytes
) -> Result<EntryVisibility, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<EntryVisibility, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for GenesisSelfCheckData
impl TryFrom<SerializedBytes> for GenesisSelfCheckData
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
sb: SerializedBytes
) -> Result<GenesisSelfCheckData, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<GenesisSelfCheckData, SerializedBytesError>
source§impl<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
source§fn try_from(sb: SerializedBytes) -> Result<HoloHash<T>, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<HoloHash<T>, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for InitZomesComplete
impl TryFrom<SerializedBytes> for InitZomesComplete
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
sb: SerializedBytes
) -> Result<InitZomesComplete, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<InitZomesComplete, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for LinkTag
impl TryFrom<SerializedBytes> for LinkTag
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(sb: SerializedBytes) -> Result<LinkTag, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<LinkTag, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for LinkType
impl TryFrom<SerializedBytes> for LinkType
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(sb: SerializedBytes) -> Result<LinkType, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<LinkType, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for Msg
impl TryFrom<SerializedBytes> for Msg
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(sb: SerializedBytes) -> Result<Msg, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<Msg, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for Op
impl TryFrom<SerializedBytes> for Op
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(sb: SerializedBytes) -> Result<Op, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<Op, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for OpenChain
impl TryFrom<SerializedBytes> for OpenChain
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(sb: SerializedBytes) -> Result<OpenChain, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<OpenChain, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for Post
impl TryFrom<SerializedBytes> for Post
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(sb: SerializedBytes) -> Result<Post, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<Post, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for PrivMsg
impl TryFrom<SerializedBytes> for PrivMsg
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(sb: SerializedBytes) -> Result<PrivMsg, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<PrivMsg, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for RateWeight
impl TryFrom<SerializedBytes> for RateWeight
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(sb: SerializedBytes) -> Result<RateWeight, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<RateWeight, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for Record<SignedHashed<Action>>
impl TryFrom<SerializedBytes> for Record<SignedHashed<Action>>
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
sb: SerializedBytes
) -> Result<Record<SignedHashed<Action>>, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<Record<SignedHashed<Action>>, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for RecordEntry
impl TryFrom<SerializedBytes> for RecordEntry
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(sb: SerializedBytes) -> Result<RecordEntry, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<RecordEntry, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for RegisterAgentActivity
impl TryFrom<SerializedBytes> for RegisterAgentActivity
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
sb: SerializedBytes
) -> Result<RegisterAgentActivity, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<RegisterAgentActivity, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for RegisterCreateLink
impl TryFrom<SerializedBytes> for RegisterCreateLink
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
sb: SerializedBytes
) -> Result<RegisterCreateLink, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<RegisterCreateLink, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for RegisterDelete
impl TryFrom<SerializedBytes> for RegisterDelete
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(sb: SerializedBytes) -> Result<RegisterDelete, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<RegisterDelete, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for RegisterDeleteLink
impl TryFrom<SerializedBytes> for RegisterDeleteLink
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
sb: SerializedBytes
) -> Result<RegisterDeleteLink, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<RegisterDeleteLink, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for RegisterUpdate
impl TryFrom<SerializedBytes> for RegisterUpdate
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(sb: SerializedBytes) -> Result<RegisterUpdate, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<RegisterUpdate, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for ScopedZomeTypesSet
impl TryFrom<SerializedBytes> for ScopedZomeTypesSet
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
sb: SerializedBytes
) -> Result<ScopedZomeTypesSet, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<ScopedZomeTypesSet, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for StoreEntry
impl TryFrom<SerializedBytes> for StoreEntry
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(sb: SerializedBytes) -> Result<StoreEntry, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<StoreEntry, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for StoreRecord
impl TryFrom<SerializedBytes> for StoreRecord
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(sb: SerializedBytes) -> Result<StoreRecord, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<StoreRecord, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for Update<EntryRateWeight>
impl TryFrom<SerializedBytes> for Update<EntryRateWeight>
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
sb: SerializedBytes
) -> Result<Update<EntryRateWeight>, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<Update<EntryRateWeight>, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for UpdateAction
impl TryFrom<SerializedBytes> for UpdateAction
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(sb: SerializedBytes) -> Result<UpdateAction, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<UpdateAction, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for ValidateCallbackResult
impl TryFrom<SerializedBytes> for ValidateCallbackResult
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
sb: SerializedBytes
) -> Result<ValidateCallbackResult, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<ValidateCallbackResult, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for VerifySignature
impl TryFrom<SerializedBytes> for VerifySignature
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
sb: SerializedBytes
) -> Result<VerifySignature, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<VerifySignature, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for WeighInput
impl TryFrom<SerializedBytes> for WeighInput
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(sb: SerializedBytes) -> Result<WeighInput, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<WeighInput, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for X25519PubKey
impl TryFrom<SerializedBytes> for X25519PubKey
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(sb: SerializedBytes) -> Result<X25519PubKey, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<X25519PubKey, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for X25519XSalsa20Poly1305Decrypt
impl TryFrom<SerializedBytes> for X25519XSalsa20Poly1305Decrypt
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
sb: SerializedBytes
) -> Result<X25519XSalsa20Poly1305Decrypt, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<X25519XSalsa20Poly1305Decrypt, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for XSalsa20Poly1305Decrypt
impl TryFrom<SerializedBytes> for XSalsa20Poly1305Decrypt
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
sb: SerializedBytes
) -> Result<XSalsa20Poly1305Decrypt, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<XSalsa20Poly1305Decrypt, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for XSalsa20Poly1305KeyRef
impl TryFrom<SerializedBytes> for XSalsa20Poly1305KeyRef
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
sb: SerializedBytes
) -> Result<XSalsa20Poly1305KeyRef, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<XSalsa20Poly1305KeyRef, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for XSalsa20Poly1305Nonce
impl TryFrom<SerializedBytes> for XSalsa20Poly1305Nonce
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
sb: SerializedBytes
) -> Result<XSalsa20Poly1305Nonce, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<XSalsa20Poly1305Nonce, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for ZomeIndex
impl TryFrom<SerializedBytes> for ZomeIndex
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(sb: SerializedBytes) -> Result<ZomeIndex, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<ZomeIndex, SerializedBytesError>
source§impl TryFrom<SerializedBytes> for ZomeInfo
impl TryFrom<SerializedBytes> for ZomeInfo
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(sb: SerializedBytes) -> Result<ZomeInfo, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<ZomeInfo, SerializedBytesError>
source§impl TryFrom<StoreEntry> for SerializedBytes
impl TryFrom<StoreEntry> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: StoreEntry) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: StoreEntry) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<StoreRecord> for SerializedBytes
impl TryFrom<StoreRecord> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: StoreRecord) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: StoreRecord) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<Update<EntryRateWeight>> for SerializedBytes
impl TryFrom<Update<EntryRateWeight>> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
t: Update<EntryRateWeight>
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: Update<EntryRateWeight>
) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<UpdateAction> for SerializedBytes
impl TryFrom<UpdateAction> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: UpdateAction) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: UpdateAction) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<ValidateCallbackResult> for SerializedBytes
impl TryFrom<ValidateCallbackResult> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
t: ValidateCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: ValidateCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<VerifySignature> for SerializedBytes
impl TryFrom<VerifySignature> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: VerifySignature) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: VerifySignature) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<WeighInput> for SerializedBytes
impl TryFrom<WeighInput> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: WeighInput) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: WeighInput) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<X25519PubKey> for SerializedBytes
impl TryFrom<X25519PubKey> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: X25519PubKey) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: X25519PubKey) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<X25519XSalsa20Poly1305Decrypt> for SerializedBytes
impl TryFrom<X25519XSalsa20Poly1305Decrypt> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
t: X25519XSalsa20Poly1305Decrypt
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: X25519XSalsa20Poly1305Decrypt
) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<XSalsa20Poly1305Decrypt> for SerializedBytes
impl TryFrom<XSalsa20Poly1305Decrypt> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
t: XSalsa20Poly1305Decrypt
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: XSalsa20Poly1305Decrypt
) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<XSalsa20Poly1305KeyRef> for SerializedBytes
impl TryFrom<XSalsa20Poly1305KeyRef> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
t: XSalsa20Poly1305KeyRef
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: XSalsa20Poly1305KeyRef
) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<XSalsa20Poly1305Nonce> for SerializedBytes
impl TryFrom<XSalsa20Poly1305Nonce> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(
t: XSalsa20Poly1305Nonce
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: XSalsa20Poly1305Nonce
) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<ZomeIndex> for SerializedBytes
impl TryFrom<ZomeIndex> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn try_from(t: ZomeIndex) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: ZomeIndex) -> Result<SerializedBytes, SerializedBytesError>
source§impl TryFrom<ZomeInfo> for SerializedBytes
impl TryFrom<ZomeInfo> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
source§fn 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
§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>
source§impl<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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.