Struct holochain_types::prelude::SerializedBytes
source · [−]#[repr(transparent)]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<'arbitrary> Arbitrary<'arbitrary> for SerializedBytes
impl<'arbitrary> Arbitrary<'arbitrary> for SerializedBytes
sourcefn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<SerializedBytes, Error>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<SerializedBytes, Error>
Generate an arbitrary value of Self
from the given unstructured data. Read more
sourcefn arbitrary_take_rest(
u: Unstructured<'arbitrary>
) -> Result<SerializedBytes, Error>
fn arbitrary_take_rest(
u: Unstructured<'arbitrary>
) -> Result<SerializedBytes, Error>
Generate an arbitrary value of Self
from the entirety of the given unstructured data. Read more
impl AsRef<SerializedBytes> for AppEntryBytes
impl AsRef<SerializedBytes> for AppEntryBytes
fn as_ref(&self) -> &SerializedBytes
fn as_ref(&self) -> &SerializedBytes
Converts this type into a shared reference of the (usually inferred) input type.
impl Borrow<SerializedBytes> for AppEntryBytes
impl Borrow<SerializedBytes> for AppEntryBytes
fn borrow(&self) -> &SerializedBytes
fn borrow(&self) -> &SerializedBytes
Immutably borrows from an owned value. Read more
sourceimpl Clone for SerializedBytes
impl Clone for SerializedBytes
sourcefn clone(&self) -> SerializedBytes
fn clone(&self) -> SerializedBytes
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl 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.
sourceimpl Default for SerializedBytes
impl Default for SerializedBytes
sourcefn default() -> SerializedBytes
fn default() -> SerializedBytes
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for SerializedBytes
impl<'de> Deserialize<'de> for SerializedBytes
sourcefn 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>,
Deserialize this value from the given Serde deserializer. Read more
impl From<AppEntryBytes> for SerializedBytes
impl From<AppEntryBytes> for SerializedBytes
fn from(aeb: AppEntryBytes) -> SerializedBytes
fn from(aeb: AppEntryBytes) -> SerializedBytes
Converts to this type from the input type.
sourceimpl From<SerializedBytes> for UnsafeBytes
impl From<SerializedBytes> for UnsafeBytes
sourcefn from(sb: SerializedBytes) -> UnsafeBytes
fn from(sb: SerializedBytes) -> UnsafeBytes
Converts to this type from the input type.
sourceimpl From<UnsafeBytes> for SerializedBytes
impl From<UnsafeBytes> for SerializedBytes
sourcefn from(b: UnsafeBytes) -> SerializedBytes
fn from(b: UnsafeBytes) -> SerializedBytes
Converts to this type from the input type.
sourceimpl Hash for SerializedBytes
impl Hash for SerializedBytes
sourceimpl Ord for SerializedBytes
impl Ord for SerializedBytes
sourceimpl PartialEq<SerializedBytes> for SerializedBytes
impl PartialEq<SerializedBytes> for SerializedBytes
sourcefn eq(&self, other: &SerializedBytes) -> bool
fn eq(&self, other: &SerializedBytes) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SerializedBytes) -> bool
fn ne(&self, other: &SerializedBytes) -> bool
This method tests for !=
.
sourceimpl PartialOrd<SerializedBytes> for SerializedBytes
impl PartialOrd<SerializedBytes> for SerializedBytes
sourcefn partial_cmp(&self, other: &SerializedBytes) -> Option<Ordering>
fn partial_cmp(&self, other: &SerializedBytes) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl Serialize for SerializedBytes
impl Serialize for SerializedBytes
sourcefn 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,
Serialize this value into the given Serde serializer. Read more
sourceimpl<'_> TryFrom<&'_ ()> for SerializedBytes
impl<'_> TryFrom<&'_ ()> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &()) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &()) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl<'_> TryFrom<&'_ ActivityRequest> for SerializedBytes
impl<'_> TryFrom<&'_ ActivityRequest> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: &ActivityRequest
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &ActivityRequest
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl<'_> TryFrom<&'_ AgentActivity> for SerializedBytes
impl<'_> TryFrom<&'_ AgentActivity> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &AgentActivity) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &AgentActivity) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ AgentActivityResponse<HoloHash<Header>>> for SerializedBytes
impl TryFrom<&'_ AgentActivityResponse<HoloHash<Header>>> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: &AgentActivityResponse<HeaderHash>
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &AgentActivityResponse<HeaderHash>
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ AgentActivityResponse<SignedHashed<Header>>> for SerializedBytes
impl TryFrom<&'_ AgentActivityResponse<SignedHashed<Header>>> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: &AgentActivityResponse
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &AgentActivityResponse
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl<'_> TryFrom<&'_ AgentInfo> for SerializedBytes
impl<'_> TryFrom<&'_ AgentInfo> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &AgentInfo) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &AgentInfo) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl<'_> TryFrom<&'_ AgentValidationPkg> for SerializedBytes
impl<'_> TryFrom<&'_ AgentValidationPkg> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
t: &AgentValidationPkg
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &AgentValidationPkg
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl<'_> TryFrom<&'_ AnyDht> for SerializedBytes
impl<'_> TryFrom<&'_ AnyDht> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &AnyDht) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &AnyDht) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl<'_> TryFrom<&'_ AnyLinkable> for SerializedBytes
impl<'_> TryFrom<&'_ AnyLinkable> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &AnyLinkable) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &AnyLinkable) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl<'_> TryFrom<&'_ AppEntryType> for SerializedBytes
impl<'_> TryFrom<&'_ AppEntryType> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: &AppEntryType) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &AppEntryType) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ AppStatus> for SerializedBytes
impl TryFrom<&'_ AppStatus> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &AppStatus) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &AppStatus) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl<'_> TryFrom<&'_ BoolWrap> for SerializedBytes
impl<'_> TryFrom<&'_ BoolWrap> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &BoolWrap) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &BoolWrap) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl<'_> TryFrom<&'_ CapClaim> for SerializedBytes
impl<'_> TryFrom<&'_ CapClaim> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: &CapClaim) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &CapClaim) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl<'_> TryFrom<&'_ CapSecret> for SerializedBytes
impl<'_> TryFrom<&'_ CapSecret> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: &CapSecret) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &CapSecret) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl<'_> TryFrom<&'_ CellId> for SerializedBytes
impl<'_> TryFrom<&'_ CellId> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &CellId) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &CellId) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ ChainItems<SignedHashed<Header>>> for SerializedBytes
impl TryFrom<&'_ ChainItems<SignedHashed<Header>>> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &ChainItems) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &ChainItems) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl<'_> TryFrom<&'_ ChainQueryFilter> for SerializedBytes
impl<'_> TryFrom<&'_ ChainQueryFilter> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: &ChainQueryFilter
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &ChainQueryFilter
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl<'_> TryFrom<&'_ CloseChain> for SerializedBytes
impl<'_> TryFrom<&'_ CloseChain> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: &CloseChain) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &CloseChain) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl<'_> TryFrom<&'_ Create> for SerializedBytes
impl<'_> TryFrom<&'_ Create> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: &Create) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &Create) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl<'_> TryFrom<&'_ CreateInput> for SerializedBytes
impl<'_> TryFrom<&'_ CreateInput> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &CreateInput) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &CreateInput) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl<'_> TryFrom<&'_ CreateLink> for SerializedBytes
impl<'_> TryFrom<&'_ CreateLink> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: &CreateLink) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &CreateLink) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl<'_> TryFrom<&'_ Delete> for SerializedBytes
impl<'_> TryFrom<&'_ Delete> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: &Delete) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &Delete) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl<'_> TryFrom<&'_ DeleteHeader> for SerializedBytes
impl<'_> TryFrom<&'_ DeleteHeader> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: &DeleteHeader) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &DeleteHeader) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl<'_> TryFrom<&'_ DeleteLink> for SerializedBytes
impl<'_> TryFrom<&'_ DeleteLink> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: &DeleteLink) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &DeleteLink) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl<'_> TryFrom<&'_ Details> for SerializedBytes
impl<'_> TryFrom<&'_ Details> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &Details) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &Details) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl<'_> TryFrom<&'_ DeterministicGetAgentActivityFilter> for SerializedBytes
impl<'_> TryFrom<&'_ DeterministicGetAgentActivityFilter> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: &DeterministicGetAgentActivityFilter
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &DeterministicGetAgentActivityFilter
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ DhtOp> for SerializedBytes
impl TryFrom<&'_ DhtOp> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &DhtOp) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &DhtOp) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ DisabledAppReason> for SerializedBytes
impl TryFrom<&'_ DisabledAppReason> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: &DisabledAppReason
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &DisabledAppReason
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl<'_> TryFrom<&'_ Dna> for SerializedBytes
impl<'_> TryFrom<&'_ Dna> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: &Dna) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &Dna) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ DnaBundle> for SerializedBytes
impl TryFrom<&'_ DnaBundle> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &DnaBundle) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &DnaBundle) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl<'_> TryFrom<&'_ DnaDef> for SerializedBytes
impl<'_> TryFrom<&'_ DnaDef> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &DnaDef) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &DnaDef) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ DnaFile> for SerializedBytes
impl TryFrom<&'_ DnaFile> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &DnaFile) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &DnaFile) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ DnaWasm> for SerializedBytes
impl TryFrom<&'_ DnaWasm> for SerializedBytes
impl<'_> TryFrom<&'_ Element> for SerializedBytes
impl<'_> TryFrom<&'_ Element> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: &Element) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &Element) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl<'_> TryFrom<&'_ ElementDetails> for SerializedBytes
impl<'_> TryFrom<&'_ ElementDetails> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &ElementDetails) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &ElementDetails) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl<'_> TryFrom<&'_ ElementEntry> for SerializedBytes
impl<'_> TryFrom<&'_ ElementEntry> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: &ElementEntry) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &ElementEntry) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl<'_> TryFrom<&'_ Entry> for SerializedBytes
impl<'_> TryFrom<&'_ Entry> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: &Entry) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &Entry) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl<'_> TryFrom<&'_ EntryCreationHeader> for SerializedBytes
impl<'_> TryFrom<&'_ EntryCreationHeader> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
t: &EntryCreationHeader
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &EntryCreationHeader
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ EntryData> for SerializedBytes
impl TryFrom<&'_ EntryData> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &EntryData) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &EntryData) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ EntryDefBufferKey> for SerializedBytes
impl TryFrom<&'_ EntryDefBufferKey> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: &EntryDefBufferKey
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &EntryDefBufferKey
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl<'_> TryFrom<&'_ EntryDefIndex> for SerializedBytes
impl<'_> TryFrom<&'_ EntryDefIndex> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: &EntryDefIndex) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &EntryDefIndex) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl<'_> TryFrom<&'_ EntryDefsCallbackResult> for SerializedBytes
impl<'_> TryFrom<&'_ EntryDefsCallbackResult> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
t: &EntryDefsCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &EntryDefsCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl<'_> TryFrom<&'_ EntryDetails> for SerializedBytes
impl<'_> TryFrom<&'_ EntryDetails> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &EntryDetails) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &EntryDetails) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl<'_> TryFrom<&'_ EntryHashes> for SerializedBytes
impl<'_> TryFrom<&'_ EntryHashes> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &EntryHashes) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &EntryHashes) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl<'_> TryFrom<&'_ EntryType> for SerializedBytes
impl<'_> TryFrom<&'_ EntryType> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: &EntryType) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &EntryType) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl<'_> TryFrom<&'_ EntryVisibility> for SerializedBytes
impl<'_> TryFrom<&'_ EntryVisibility> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
t: &EntryVisibility
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &EntryVisibility
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl<'_> TryFrom<&'_ GenesisSelfCheckData> for SerializedBytes
impl<'_> TryFrom<&'_ GenesisSelfCheckData> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
t: &GenesisSelfCheckData
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &GenesisSelfCheckData
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ GetElementResponse> for SerializedBytes
impl TryFrom<&'_ GetElementResponse> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: &GetElementResponse
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &GetElementResponse
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ GetLinksResponse> for SerializedBytes
impl TryFrom<&'_ GetLinksResponse> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: &GetLinksResponse
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &GetLinksResponse
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl<'_> TryFrom<&'_ Header> for SerializedBytes
impl<'_> TryFrom<&'_ Header> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: &Header) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &Header) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl<'_> TryFrom<&'_ HeaderType> for SerializedBytes
impl<'_> TryFrom<&'_ HeaderType> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: &HeaderType) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &HeaderType) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl<'_, T> TryFrom<&'_ HoloHash<T>> for SerializedBytes where
T: HashType,
impl<'_, T> TryFrom<&'_ HoloHash<T>> for SerializedBytes where
T: HashType,
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &HoloHash<T>) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &HoloHash<T>) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl<'_> TryFrom<&'_ InitCallbackResult> for SerializedBytes
impl<'_> TryFrom<&'_ InitCallbackResult> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: &InitCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &InitCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl<'_> TryFrom<&'_ InitZomesComplete> for SerializedBytes
impl<'_> TryFrom<&'_ InitZomesComplete> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
t: &InitZomesComplete
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &InitZomesComplete
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl<'_> TryFrom<&'_ Link> for SerializedBytes
impl<'_> TryFrom<&'_ Link> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &Link) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &Link) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ Link> for SerializedBytes
impl TryFrom<&'_ Link> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &Link) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &Link) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl<'_> TryFrom<&'_ LinkDetails> for SerializedBytes
impl<'_> TryFrom<&'_ LinkDetails> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &LinkDetails) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &LinkDetails) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl<'_> TryFrom<&'_ LinkTag> for SerializedBytes
impl<'_> TryFrom<&'_ LinkTag> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: &LinkTag) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &LinkTag) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl<'_> TryFrom<&'_ LinkType> for SerializedBytes
impl<'_> TryFrom<&'_ LinkType> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: &LinkType) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &LinkType) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ MetadataSet> for SerializedBytes
impl TryFrom<&'_ MetadataSet> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &MetadataSet) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &MetadataSet) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl<'_> TryFrom<&'_ MigrateAgent> for SerializedBytes
impl<'_> TryFrom<&'_ MigrateAgent> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &MigrateAgent) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &MigrateAgent) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl<'_> TryFrom<&'_ MigrateAgentCallbackResult> for SerializedBytes
impl<'_> TryFrom<&'_ MigrateAgentCallbackResult> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: &MigrateAgentCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &MigrateAgentCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ NewEntryHeader> for SerializedBytes
impl TryFrom<&'_ NewEntryHeader> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &NewEntryHeader) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &NewEntryHeader) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl<'_> TryFrom<&'_ Op> for SerializedBytes
impl<'_> TryFrom<&'_ Op> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: &Op) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &Op) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl<'_> TryFrom<&'_ OpenChain> for SerializedBytes
impl<'_> TryFrom<&'_ OpenChain> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: &OpenChain) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &OpenChain) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ PausedAppReason> for SerializedBytes
impl TryFrom<&'_ PausedAppReason> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: &PausedAppReason
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &PausedAppReason
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ RawGetEntryResponse> for SerializedBytes
impl TryFrom<&'_ RawGetEntryResponse> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: &RawGetEntryResponse
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &RawGetEntryResponse
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl<'_> TryFrom<&'_ RemoteSignal> for SerializedBytes
impl<'_> TryFrom<&'_ RemoteSignal> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &RemoteSignal) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &RemoteSignal) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl<'_> TryFrom<&'_ Sign> for SerializedBytes
impl<'_> TryFrom<&'_ Sign> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &Sign) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &Sign) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ Signal> for SerializedBytes
impl TryFrom<&'_ Signal> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &Signal) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &Signal) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl<'_> TryFrom<&'_ SignedHeader> for SerializedBytes
impl<'_> TryFrom<&'_ SignedHeader> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &SignedHeader) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &SignedHeader) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ StoppedAppReason> for SerializedBytes
impl TryFrom<&'_ StoppedAppReason> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: &StoppedAppReason
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &StoppedAppReason
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl<'_> TryFrom<&'_ StringWrap> for SerializedBytes
impl<'_> TryFrom<&'_ StringWrap> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &StringWrap) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &StringWrap) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ SystemSignal> for SerializedBytes
impl TryFrom<&'_ SystemSignal> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &SystemSignal) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &SystemSignal) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl<'_> TryFrom<&'_ U32Wrap> for SerializedBytes
impl<'_> TryFrom<&'_ U32Wrap> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &U32Wrap) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &U32Wrap) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl<'a> TryFrom<&'_ UniqueForm<'a>> for SerializedBytes
impl<'a> TryFrom<&'_ UniqueForm<'a>> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(u: &UniqueForm<'a>) -> Result<Self, Self::Error>
fn try_from(u: &UniqueForm<'a>) -> Result<Self, Self::Error>
Performs the conversion.
impl<'_> TryFrom<&'_ Update> for SerializedBytes
impl<'_> TryFrom<&'_ Update> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: &Update) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &Update) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl<'_> TryFrom<&'_ UpdateHeader> for SerializedBytes
impl<'_> TryFrom<&'_ UpdateHeader> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: &UpdateHeader) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &UpdateHeader) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl<'_> TryFrom<&'_ ValidateCallbackResult> for SerializedBytes
impl<'_> TryFrom<&'_ ValidateCallbackResult> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
t: &ValidateCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &ValidateCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl<'_> TryFrom<&'_ ValidationPackage> for SerializedBytes
impl<'_> TryFrom<&'_ ValidationPackage> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: &ValidationPackage
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &ValidationPackage
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl<'_> TryFrom<&'_ ValidationPackageCallbackResult> for SerializedBytes
impl<'_> TryFrom<&'_ ValidationPackageCallbackResult> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: &ValidationPackageCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &ValidationPackageCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ ValidationPackageResponse> for SerializedBytes
impl TryFrom<&'_ ValidationPackageResponse> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: &ValidationPackageResponse
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &ValidationPackageResponse
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl<'_> TryFrom<&'_ VerifySignature> for SerializedBytes
impl<'_> TryFrom<&'_ VerifySignature> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
t: &VerifySignature
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &VerifySignature
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl<'_> TryFrom<&'_ Warrant> for SerializedBytes
impl<'_> TryFrom<&'_ Warrant> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &Warrant) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &Warrant) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl<'_> TryFrom<&'_ WasmError> for SerializedBytes
impl<'_> TryFrom<&'_ WasmError> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: &WasmError) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &WasmError) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl<'_> TryFrom<&'_ WasmZome> for SerializedBytes
impl<'_> TryFrom<&'_ WasmZome> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &WasmZome) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &WasmZome) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl<'_> TryFrom<&'_ WireContext> for SerializedBytes
impl<'_> TryFrom<&'_ WireContext> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &WireContext) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &WireContext) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ WireCreate> for SerializedBytes
impl TryFrom<&'_ WireCreate> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &WireCreate) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &WireCreate) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ WireCreateLink> for SerializedBytes
impl TryFrom<&'_ WireCreateLink> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &WireCreateLink) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &WireCreateLink) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ WireDelete> for SerializedBytes
impl TryFrom<&'_ WireDelete> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &WireDelete) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &WireDelete) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ WireDeleteLink> for SerializedBytes
impl TryFrom<&'_ WireDeleteLink> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &WireDeleteLink) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &WireDeleteLink) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ WireElement> for SerializedBytes
impl TryFrom<&'_ WireElement> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &WireElement) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &WireElement) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ WireElementOps> for SerializedBytes
impl TryFrom<&'_ WireElementOps> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &WireElementOps) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &WireElementOps) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ WireEntryOps> for SerializedBytes
impl TryFrom<&'_ WireEntryOps> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &WireEntryOps) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &WireEntryOps) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl<'_> TryFrom<&'_ WireLink> for SerializedBytes
impl<'_> TryFrom<&'_ WireLink> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &WireLink) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &WireLink) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ WireLinkKey> for SerializedBytes
impl TryFrom<&'_ WireLinkKey> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &WireLinkKey) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &WireLinkKey) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ WireLinkMetaKey> for SerializedBytes
impl TryFrom<&'_ WireLinkMetaKey> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: &WireLinkMetaKey
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &WireLinkMetaKey
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ WireLinkOps> for SerializedBytes
impl TryFrom<&'_ WireLinkOps> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &WireLinkOps) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &WireLinkOps) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl<'_> TryFrom<&'_ WireLinks> for SerializedBytes
impl<'_> TryFrom<&'_ WireLinks> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &WireLinks) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &WireLinks) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ WireNewEntryHeader> for SerializedBytes
impl TryFrom<&'_ WireNewEntryHeader> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: &WireNewEntryHeader
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &WireNewEntryHeader
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ WireOps> for SerializedBytes
impl TryFrom<&'_ WireOps> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &WireOps) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &WireOps) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl<'_> TryFrom<&'_ WireSpanContext> for SerializedBytes
impl<'_> TryFrom<&'_ WireSpanContext> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: &WireSpanContext
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &WireSpanContext
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ WireUpdate> for SerializedBytes
impl TryFrom<&'_ WireUpdate> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &WireUpdate) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &WireUpdate) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ WireUpdateRelationship> for SerializedBytes
impl TryFrom<&'_ WireUpdateRelationship> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: &WireUpdateRelationship
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &WireUpdateRelationship
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl<'_> TryFrom<&'_ X25519PubKey> for SerializedBytes
impl<'_> TryFrom<&'_ X25519PubKey> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: &X25519PubKey) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &X25519PubKey) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl<'_> TryFrom<&'_ X25519XSalsa20Poly1305Decrypt> for SerializedBytes
impl<'_> TryFrom<&'_ X25519XSalsa20Poly1305Decrypt> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
t: &X25519XSalsa20Poly1305Decrypt
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &X25519XSalsa20Poly1305Decrypt
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl<'_> TryFrom<&'_ X25519XSalsa20Poly1305Encrypt> for SerializedBytes
impl<'_> TryFrom<&'_ X25519XSalsa20Poly1305Encrypt> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: &X25519XSalsa20Poly1305Encrypt
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &X25519XSalsa20Poly1305Encrypt
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl<'_> TryFrom<&'_ XSalsa20Poly1305Decrypt> for SerializedBytes
impl<'_> TryFrom<&'_ XSalsa20Poly1305Decrypt> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
t: &XSalsa20Poly1305Decrypt
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &XSalsa20Poly1305Decrypt
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl<'_> TryFrom<&'_ XSalsa20Poly1305Encrypt> for SerializedBytes
impl<'_> TryFrom<&'_ XSalsa20Poly1305Encrypt> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: &XSalsa20Poly1305Encrypt
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &XSalsa20Poly1305Encrypt
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl<'_> TryFrom<&'_ XSalsa20Poly1305KeyRef> for SerializedBytes
impl<'_> TryFrom<&'_ XSalsa20Poly1305KeyRef> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
t: &XSalsa20Poly1305KeyRef
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &XSalsa20Poly1305KeyRef
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl<'_> TryFrom<&'_ XSalsa20Poly1305Nonce> for SerializedBytes
impl<'_> TryFrom<&'_ XSalsa20Poly1305Nonce> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
t: &XSalsa20Poly1305Nonce
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &XSalsa20Poly1305Nonce
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl<'_> TryFrom<&'_ YamlProperties> for SerializedBytes
impl<'_> TryFrom<&'_ YamlProperties> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &YamlProperties) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &YamlProperties) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl<'_> TryFrom<&'_ ZomeCallResponse> for SerializedBytes
impl<'_> TryFrom<&'_ ZomeCallResponse> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: &ZomeCallResponse
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &ZomeCallResponse
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl<'_> TryFrom<&'_ ZomeId> for SerializedBytes
impl<'_> TryFrom<&'_ ZomeId> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: &ZomeId) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &ZomeId) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl<'_> TryFrom<&'_ ZomeInfo> for SerializedBytes
impl<'_> TryFrom<&'_ ZomeInfo> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: &ZomeInfo) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &ZomeInfo) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl<'a> TryFrom<&'a SerializedBytes> for SerializedBytes
impl<'a> TryFrom<&'a SerializedBytes> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn 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>
Performs the conversion.
sourceimpl TryFrom<()> for SerializedBytes
impl TryFrom<()> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: ()) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: ()) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<ActivityRequest> for SerializedBytes
impl TryFrom<ActivityRequest> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: ActivityRequest) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: ActivityRequest) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<AgentActivity> for SerializedBytes
impl TryFrom<AgentActivity> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: AgentActivity) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: AgentActivity) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<AgentActivityResponse<HoloHash<Header>>> for SerializedBytes
impl TryFrom<AgentActivityResponse<HoloHash<Header>>> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: AgentActivityResponse<HeaderHash>
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: AgentActivityResponse<HeaderHash>
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<AgentActivityResponse<SignedHashed<Header>>> for SerializedBytes
impl TryFrom<AgentActivityResponse<SignedHashed<Header>>> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: AgentActivityResponse
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: AgentActivityResponse
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<AgentInfo> for SerializedBytes
impl TryFrom<AgentInfo> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: AgentInfo) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: AgentInfo) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl TryFrom<AgentValidationPkg> for SerializedBytes
impl TryFrom<AgentValidationPkg> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
t: AgentValidationPkg
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: AgentValidationPkg
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<AnyDht> for SerializedBytes
impl TryFrom<AnyDht> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: AnyDht) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: AnyDht) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<AnyLinkable> for SerializedBytes
impl TryFrom<AnyLinkable> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: AnyLinkable) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: AnyLinkable) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl TryFrom<AppEntryType> for SerializedBytes
impl TryFrom<AppEntryType> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: AppEntryType) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: AppEntryType) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<AppStatus> for SerializedBytes
impl TryFrom<AppStatus> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: AppStatus) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: AppStatus) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<BoolWrap> for SerializedBytes
impl TryFrom<BoolWrap> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: BoolWrap) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: BoolWrap) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl TryFrom<CapClaim> for SerializedBytes
impl TryFrom<CapClaim> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: CapClaim) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: CapClaim) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl TryFrom<CapSecret> for SerializedBytes
impl TryFrom<CapSecret> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: CapSecret) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: CapSecret) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<CellId> for SerializedBytes
impl TryFrom<CellId> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: CellId) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: CellId) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<ChainItems<SignedHashed<Header>>> for SerializedBytes
impl TryFrom<ChainItems<SignedHashed<Header>>> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: ChainItems) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: ChainItems) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<ChainQueryFilter> for SerializedBytes
impl TryFrom<ChainQueryFilter> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: ChainQueryFilter
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: ChainQueryFilter
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl TryFrom<CloseChain> for SerializedBytes
impl TryFrom<CloseChain> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: CloseChain) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: CloseChain) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl TryFrom<Create> for SerializedBytes
impl TryFrom<Create> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: Create) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: Create) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<CreateInput> for SerializedBytes
impl TryFrom<CreateInput> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: CreateInput) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: CreateInput) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl TryFrom<CreateLink> for SerializedBytes
impl TryFrom<CreateLink> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: CreateLink) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: CreateLink) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl TryFrom<Delete> for SerializedBytes
impl TryFrom<Delete> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: Delete) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: Delete) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl TryFrom<DeleteHeader> for SerializedBytes
impl TryFrom<DeleteHeader> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: DeleteHeader) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: DeleteHeader) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl TryFrom<DeleteLink> for SerializedBytes
impl TryFrom<DeleteLink> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: DeleteLink) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: DeleteLink) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<Details> for SerializedBytes
impl TryFrom<Details> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: Details) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: Details) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<DeterministicGetAgentActivityFilter> for SerializedBytes
impl TryFrom<DeterministicGetAgentActivityFilter> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: DeterministicGetAgentActivityFilter
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: DeterministicGetAgentActivityFilter
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<DhtOp> for SerializedBytes
impl TryFrom<DhtOp> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: DhtOp) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: DhtOp) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<DisabledAppReason> for SerializedBytes
impl TryFrom<DisabledAppReason> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: DisabledAppReason
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: DisabledAppReason
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl TryFrom<Dna> for SerializedBytes
impl TryFrom<Dna> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: Dna) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: Dna) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<DnaBundle> for SerializedBytes
impl TryFrom<DnaBundle> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: DnaBundle) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: DnaBundle) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<DnaDef> for SerializedBytes
impl TryFrom<DnaDef> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: DnaDef) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: DnaDef) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<DnaFile> for SerializedBytes
impl TryFrom<DnaFile> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: DnaFile) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: DnaFile) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<DnaWasm> for SerializedBytes
impl TryFrom<DnaWasm> for SerializedBytes
impl TryFrom<Element> for SerializedBytes
impl TryFrom<Element> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: Element) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: Element) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<ElementDetails> for SerializedBytes
impl TryFrom<ElementDetails> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: ElementDetails) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: ElementDetails) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl TryFrom<ElementEntry> for SerializedBytes
impl TryFrom<ElementEntry> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: ElementEntry) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: ElementEntry) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl TryFrom<Entry> for SerializedBytes
impl TryFrom<Entry> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: Entry) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: Entry) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl TryFrom<EntryCreationHeader> for SerializedBytes
impl TryFrom<EntryCreationHeader> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
t: EntryCreationHeader
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: EntryCreationHeader
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<EntryData> for SerializedBytes
impl TryFrom<EntryData> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: EntryData) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: EntryData) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<EntryDefBufferKey> for SerializedBytes
impl TryFrom<EntryDefBufferKey> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: EntryDefBufferKey
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: EntryDefBufferKey
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl TryFrom<EntryDefIndex> for SerializedBytes
impl TryFrom<EntryDefIndex> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: EntryDefIndex) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: EntryDefIndex) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl TryFrom<EntryDefsCallbackResult> for SerializedBytes
impl TryFrom<EntryDefsCallbackResult> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
t: EntryDefsCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: EntryDefsCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<EntryDetails> for SerializedBytes
impl TryFrom<EntryDetails> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: EntryDetails) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: EntryDetails) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<EntryHashes> for SerializedBytes
impl TryFrom<EntryHashes> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: EntryHashes) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: EntryHashes) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl TryFrom<EntryType> for SerializedBytes
impl TryFrom<EntryType> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: EntryType) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: EntryType) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl TryFrom<EntryVisibility> for SerializedBytes
impl TryFrom<EntryVisibility> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: EntryVisibility) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: EntryVisibility) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl TryFrom<GenesisSelfCheckData> for SerializedBytes
impl TryFrom<GenesisSelfCheckData> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
t: GenesisSelfCheckData
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: GenesisSelfCheckData
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<GetElementResponse> for SerializedBytes
impl TryFrom<GetElementResponse> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: GetElementResponse
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: GetElementResponse
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<GetLinksResponse> for SerializedBytes
impl TryFrom<GetLinksResponse> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: GetLinksResponse
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: GetLinksResponse
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl TryFrom<Header> for SerializedBytes
impl TryFrom<Header> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: Header) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: Header) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl TryFrom<HeaderType> for SerializedBytes
impl TryFrom<HeaderType> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: HeaderType) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: HeaderType) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl<T> TryFrom<HoloHash<T>> for SerializedBytes where
T: HashType,
impl<T> TryFrom<HoloHash<T>> for SerializedBytes where
T: HashType,
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: HoloHash<T>) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: HoloHash<T>) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<InitCallbackResult> for SerializedBytes
impl TryFrom<InitCallbackResult> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: InitCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: InitCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl TryFrom<InitZomesComplete> for SerializedBytes
impl TryFrom<InitZomesComplete> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
t: InitZomesComplete
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: InitZomesComplete
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<Link> for SerializedBytes
impl TryFrom<Link> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: Link) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: Link) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<Link> for SerializedBytes
impl TryFrom<Link> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: Link) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: Link) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<LinkDetails> for SerializedBytes
impl TryFrom<LinkDetails> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: LinkDetails) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: LinkDetails) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl TryFrom<LinkTag> for SerializedBytes
impl TryFrom<LinkTag> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: LinkTag) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: LinkTag) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl TryFrom<LinkType> for SerializedBytes
impl TryFrom<LinkType> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: LinkType) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: LinkType) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<MetadataSet> for SerializedBytes
impl TryFrom<MetadataSet> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: MetadataSet) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: MetadataSet) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<MigrateAgent> for SerializedBytes
impl TryFrom<MigrateAgent> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: MigrateAgent) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: MigrateAgent) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<MigrateAgentCallbackResult> for SerializedBytes
impl TryFrom<MigrateAgentCallbackResult> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: MigrateAgentCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: MigrateAgentCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<NewEntryHeader> for SerializedBytes
impl TryFrom<NewEntryHeader> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: NewEntryHeader) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: NewEntryHeader) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl TryFrom<Op> for SerializedBytes
impl TryFrom<Op> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: Op) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: Op) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl TryFrom<OpenChain> for SerializedBytes
impl TryFrom<OpenChain> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: OpenChain) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: OpenChain) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<PausedAppReason> for SerializedBytes
impl TryFrom<PausedAppReason> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: PausedAppReason) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: PausedAppReason) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<RawGetEntryResponse> for SerializedBytes
impl TryFrom<RawGetEntryResponse> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: RawGetEntryResponse
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: RawGetEntryResponse
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<RemoteSignal> for SerializedBytes
impl TryFrom<RemoteSignal> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: RemoteSignal) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: RemoteSignal) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for AnyDht
impl TryFrom<SerializedBytes> for AnyDht
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<AnyDht, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<AnyDht, SerializedBytesError>
Performs the conversion.
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
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<HoloHash<T>, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<HoloHash<T>, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for ValidationPackage
impl TryFrom<SerializedBytes> for ValidationPackage
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
sb: SerializedBytes
) -> Result<ValidationPackage, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<ValidationPackage, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for WireLinkOps
impl TryFrom<SerializedBytes> for WireLinkOps
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<WireLinkOps, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<WireLinkOps, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for WireCreateLink
impl TryFrom<SerializedBytes> for WireCreateLink
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<WireCreateLink, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<WireCreateLink, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for WireDeleteLink
impl TryFrom<SerializedBytes> for WireDeleteLink
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<WireDeleteLink, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<WireDeleteLink, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for GetLinksResponse
impl TryFrom<SerializedBytes> for GetLinksResponse
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
sb: SerializedBytes
) -> Result<GetLinksResponse, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<GetLinksResponse, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for MetadataSet
impl TryFrom<SerializedBytes> for MetadataSet
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<MetadataSet, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<MetadataSet, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for Signal
impl TryFrom<SerializedBytes> for Signal
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<Signal, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<Signal, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for SystemSignal
impl TryFrom<SerializedBytes> for SystemSignal
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<SystemSignal, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<SystemSignal, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for ValidationPackageResponse
impl TryFrom<SerializedBytes> for ValidationPackageResponse
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
sb: SerializedBytes
) -> Result<ValidationPackageResponse, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<ValidationPackageResponse, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for Link
impl TryFrom<SerializedBytes> for Link
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<Link, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<Link, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for Details
impl TryFrom<SerializedBytes> for Details
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<Details, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<Details, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for DeterministicGetAgentActivityFilter
impl TryFrom<SerializedBytes> for DeterministicGetAgentActivityFilter
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
sb: SerializedBytes
) -> Result<DeterministicGetAgentActivityFilter, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<DeterministicGetAgentActivityFilter, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for AgentInfo
impl TryFrom<SerializedBytes> for AgentInfo
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<AgentInfo, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<AgentInfo, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for SignedHeader
impl TryFrom<SerializedBytes> for SignedHeader
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<SignedHeader, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<SignedHeader, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for ElementDetails
impl TryFrom<SerializedBytes> for ElementDetails
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<ElementDetails, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<ElementDetails, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for CreateInput
impl TryFrom<SerializedBytes> for CreateInput
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<CreateInput, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<CreateInput, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for DnaDef
impl TryFrom<SerializedBytes> for DnaDef
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<DnaDef, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<DnaDef, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for YamlProperties
impl TryFrom<SerializedBytes> for YamlProperties
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<YamlProperties, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<YamlProperties, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for EntryHashes
impl TryFrom<SerializedBytes> for EntryHashes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<EntryHashes, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<EntryHashes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for ActivityRequest
impl TryFrom<SerializedBytes> for ActivityRequest
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
sb: SerializedBytes
) -> Result<ActivityRequest, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<ActivityRequest, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for ZomeCallResponse
impl TryFrom<SerializedBytes> for ZomeCallResponse
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
sb: SerializedBytes
) -> Result<ZomeCallResponse, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<ZomeCallResponse, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for WasmZome
impl TryFrom<SerializedBytes> for WasmZome
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<WasmZome, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<WasmZome, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for InitCallbackResult
impl TryFrom<SerializedBytes> for InitCallbackResult
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
sb: SerializedBytes
) -> Result<InitCallbackResult, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<InitCallbackResult, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for MigrateAgentCallbackResult
impl TryFrom<SerializedBytes> for MigrateAgentCallbackResult
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
sb: SerializedBytes
) -> Result<MigrateAgentCallbackResult, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<MigrateAgentCallbackResult, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for CellId
impl TryFrom<SerializedBytes> for CellId
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<CellId, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<CellId, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for X25519XSalsa20Poly1305Encrypt
impl TryFrom<SerializedBytes> for X25519XSalsa20Poly1305Encrypt
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
sb: SerializedBytes
) -> Result<X25519XSalsa20Poly1305Encrypt, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<X25519XSalsa20Poly1305Encrypt, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for AgentActivity
impl TryFrom<SerializedBytes> for AgentActivity
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<AgentActivity, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<AgentActivity, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for EntryDetails
impl TryFrom<SerializedBytes> for EntryDetails
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<EntryDetails, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<EntryDetails, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for ValidationPackageCallbackResult
impl TryFrom<SerializedBytes> for ValidationPackageCallbackResult
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
sb: SerializedBytes
) -> Result<ValidationPackageCallbackResult, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<ValidationPackageCallbackResult, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for AnyLinkable
impl TryFrom<SerializedBytes> for AnyLinkable
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<AnyLinkable, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<AnyLinkable, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for RemoteSignal
impl TryFrom<SerializedBytes> for RemoteSignal
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<RemoteSignal, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<RemoteSignal, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for LinkDetails
impl TryFrom<SerializedBytes> for LinkDetails
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<LinkDetails, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<LinkDetails, SerializedBytesError>
Performs the conversion.
impl TryFrom<SerializedBytes> for CapSecret
impl TryFrom<SerializedBytes> for CapSecret
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<CapSecret, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<CapSecret, SerializedBytesError>
Performs the conversion.
impl TryFrom<SerializedBytes> for Entry
impl TryFrom<SerializedBytes> for Entry
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<Entry, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<Entry, SerializedBytesError>
Performs the conversion.
impl TryFrom<SerializedBytes> for Element
impl TryFrom<SerializedBytes> for Element
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<Element, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<Element, SerializedBytesError>
Performs the conversion.
impl TryFrom<SerializedBytes> for X25519PubKey
impl TryFrom<SerializedBytes> for X25519PubKey
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<X25519PubKey, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<X25519PubKey, SerializedBytesError>
Performs the conversion.
impl TryFrom<SerializedBytes> for ZomeInfo
impl TryFrom<SerializedBytes> for ZomeInfo
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<ZomeInfo, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<ZomeInfo, SerializedBytesError>
Performs the conversion.
impl TryFrom<SerializedBytes> for XSalsa20Poly1305KeyRef
impl TryFrom<SerializedBytes> for XSalsa20Poly1305KeyRef
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
sb: SerializedBytes
) -> Result<XSalsa20Poly1305KeyRef, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<XSalsa20Poly1305KeyRef, SerializedBytesError>
Performs the conversion.
impl TryFrom<SerializedBytes> for GenesisSelfCheckData
impl TryFrom<SerializedBytes> for GenesisSelfCheckData
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
sb: SerializedBytes
) -> Result<GenesisSelfCheckData, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<GenesisSelfCheckData, SerializedBytesError>
Performs the conversion.
impl TryFrom<SerializedBytes> for EntryVisibility
impl TryFrom<SerializedBytes> for EntryVisibility
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
sb: SerializedBytes
) -> Result<EntryVisibility, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<EntryVisibility, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for ()
impl TryFrom<SerializedBytes> for ()
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<(), SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<(), SerializedBytesError>
Performs the conversion.
impl TryFrom<SerializedBytes> for EntryType
impl TryFrom<SerializedBytes> for EntryType
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<EntryType, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<EntryType, SerializedBytesError>
Performs the conversion.
impl TryFrom<SerializedBytes> for Op
impl TryFrom<SerializedBytes> for Op
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<Op, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<Op, SerializedBytesError>
Performs the conversion.
impl TryFrom<SerializedBytes> for CapClaim
impl TryFrom<SerializedBytes> for CapClaim
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<CapClaim, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<CapClaim, SerializedBytesError>
Performs the conversion.
impl TryFrom<SerializedBytes> for X25519XSalsa20Poly1305Decrypt
impl TryFrom<SerializedBytes> for X25519XSalsa20Poly1305Decrypt
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
sb: SerializedBytes
) -> Result<X25519XSalsa20Poly1305Decrypt, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<X25519XSalsa20Poly1305Decrypt, SerializedBytesError>
Performs the conversion.
impl TryFrom<SerializedBytes> for Header
impl TryFrom<SerializedBytes> for Header
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<Header, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<Header, SerializedBytesError>
Performs the conversion.
impl TryFrom<SerializedBytes> for LinkType
impl TryFrom<SerializedBytes> for LinkType
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<LinkType, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<LinkType, SerializedBytesError>
Performs the conversion.
impl TryFrom<SerializedBytes> for UpdateHeader
impl TryFrom<SerializedBytes> for UpdateHeader
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<UpdateHeader, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<UpdateHeader, SerializedBytesError>
Performs the conversion.
impl TryFrom<SerializedBytes> for AppEntryBytes
impl TryFrom<SerializedBytes> for AppEntryBytes
type Error = EntryError
type Error = EntryError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<AppEntryBytes, EntryError>
fn try_from(sb: SerializedBytes) -> Result<AppEntryBytes, EntryError>
Performs the conversion.
impl TryFrom<SerializedBytes> for ElementEntry
impl TryFrom<SerializedBytes> for ElementEntry
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<ElementEntry, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<ElementEntry, SerializedBytesError>
Performs the conversion.
impl TryFrom<SerializedBytes> for LinkTag
impl TryFrom<SerializedBytes> for LinkTag
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<LinkTag, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<LinkTag, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for Warrant
impl TryFrom<SerializedBytes> for Warrant
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<Warrant, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<Warrant, SerializedBytesError>
Performs the conversion.
impl TryFrom<SerializedBytes> for Update
impl TryFrom<SerializedBytes> for Update
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<Update, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<Update, SerializedBytesError>
Performs the conversion.
impl TryFrom<SerializedBytes> for AppEntryType
impl TryFrom<SerializedBytes> for AppEntryType
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<AppEntryType, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<AppEntryType, SerializedBytesError>
Performs the conversion.
impl TryFrom<SerializedBytes> for DeleteLink
impl TryFrom<SerializedBytes> for DeleteLink
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<DeleteLink, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<DeleteLink, SerializedBytesError>
Performs the conversion.
impl TryFrom<SerializedBytes> for OpenChain
impl TryFrom<SerializedBytes> for OpenChain
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<OpenChain, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<OpenChain, SerializedBytesError>
Performs the conversion.
impl TryFrom<SerializedBytes> for AgentValidationPkg
impl TryFrom<SerializedBytes> for AgentValidationPkg
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
sb: SerializedBytes
) -> Result<AgentValidationPkg, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<AgentValidationPkg, SerializedBytesError>
Performs the conversion.
impl TryFrom<SerializedBytes> for ZomeId
impl TryFrom<SerializedBytes> for ZomeId
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<ZomeId, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<ZomeId, SerializedBytesError>
Performs the conversion.
impl TryFrom<SerializedBytes> for DeleteHeader
impl TryFrom<SerializedBytes> for DeleteHeader
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<DeleteHeader, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<DeleteHeader, SerializedBytesError>
Performs the conversion.
impl TryFrom<SerializedBytes> for ValidateCallbackResult
impl TryFrom<SerializedBytes> for ValidateCallbackResult
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
sb: SerializedBytes
) -> Result<ValidateCallbackResult, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<ValidateCallbackResult, SerializedBytesError>
Performs the conversion.
impl TryFrom<SerializedBytes> for Dna
impl TryFrom<SerializedBytes> for Dna
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<Dna, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<Dna, SerializedBytesError>
Performs the conversion.
impl TryFrom<SerializedBytes> for CloseChain
impl TryFrom<SerializedBytes> for CloseChain
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<CloseChain, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<CloseChain, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for XSalsa20Poly1305Encrypt
impl TryFrom<SerializedBytes> for XSalsa20Poly1305Encrypt
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
sb: SerializedBytes
) -> Result<XSalsa20Poly1305Encrypt, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<XSalsa20Poly1305Encrypt, SerializedBytesError>
Performs the conversion.
impl TryFrom<SerializedBytes> for CreateLink
impl TryFrom<SerializedBytes> for CreateLink
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<CreateLink, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<CreateLink, SerializedBytesError>
Performs the conversion.
impl TryFrom<SerializedBytes> for EntryDefsCallbackResult
impl TryFrom<SerializedBytes> for EntryDefsCallbackResult
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
sb: SerializedBytes
) -> Result<EntryDefsCallbackResult, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<EntryDefsCallbackResult, SerializedBytesError>
Performs the conversion.
impl TryFrom<SerializedBytes> for Create
impl TryFrom<SerializedBytes> for Create
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<Create, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<Create, SerializedBytesError>
Performs the conversion.
impl TryFrom<SerializedBytes> for VerifySignature
impl TryFrom<SerializedBytes> for VerifySignature
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
sb: SerializedBytes
) -> Result<VerifySignature, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<VerifySignature, SerializedBytesError>
Performs the conversion.
impl TryFrom<SerializedBytes> for XSalsa20Poly1305Nonce
impl TryFrom<SerializedBytes> for XSalsa20Poly1305Nonce
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
sb: SerializedBytes
) -> Result<XSalsa20Poly1305Nonce, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<XSalsa20Poly1305Nonce, SerializedBytesError>
Performs the conversion.
impl TryFrom<SerializedBytes> for EntryDefIndex
impl TryFrom<SerializedBytes> for EntryDefIndex
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<EntryDefIndex, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<EntryDefIndex, SerializedBytesError>
Performs the conversion.
impl TryFrom<SerializedBytes> for EntryCreationHeader
impl TryFrom<SerializedBytes> for EntryCreationHeader
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
sb: SerializedBytes
) -> Result<EntryCreationHeader, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<EntryCreationHeader, SerializedBytesError>
Performs the conversion.
impl TryFrom<SerializedBytes> for Delete
impl TryFrom<SerializedBytes> for Delete
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<Delete, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<Delete, SerializedBytesError>
Performs the conversion.
impl TryFrom<SerializedBytes> for HeaderType
impl TryFrom<SerializedBytes> for HeaderType
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<HeaderType, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<HeaderType, SerializedBytesError>
Performs the conversion.
impl TryFrom<SerializedBytes> for InitZomesComplete
impl TryFrom<SerializedBytes> for InitZomesComplete
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
sb: SerializedBytes
) -> Result<InitZomesComplete, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<InitZomesComplete, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for Sign
impl TryFrom<SerializedBytes> for Sign
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<Sign, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<Sign, SerializedBytesError>
Performs the conversion.
impl TryFrom<SerializedBytes> for XSalsa20Poly1305Decrypt
impl TryFrom<SerializedBytes> for XSalsa20Poly1305Decrypt
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
sb: SerializedBytes
) -> Result<XSalsa20Poly1305Decrypt, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<XSalsa20Poly1305Decrypt, SerializedBytesError>
Performs the conversion.
impl TryFrom<SerializedBytes> for WasmError
impl TryFrom<SerializedBytes> for WasmError
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<WasmError, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<WasmError, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for AgentActivityResponse
impl TryFrom<SerializedBytes> for AgentActivityResponse
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
sb: SerializedBytes
) -> Result<AgentActivityResponse, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<AgentActivityResponse, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for AgentActivityResponse<HeaderHash>
impl TryFrom<SerializedBytes> for AgentActivityResponse<HeaderHash>
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
sb: SerializedBytes
) -> Result<AgentActivityResponse<HeaderHash>, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<AgentActivityResponse<HeaderHash>, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for ChainItems
impl TryFrom<SerializedBytes> for ChainItems
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<ChainItems, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<ChainItems, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for AppStatus
impl TryFrom<SerializedBytes> for AppStatus
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<AppStatus, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<AppStatus, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for StoppedAppReason
impl TryFrom<SerializedBytes> for StoppedAppReason
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
sb: SerializedBytes
) -> Result<StoppedAppReason, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<StoppedAppReason, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for PausedAppReason
impl TryFrom<SerializedBytes> for PausedAppReason
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
sb: SerializedBytes
) -> Result<PausedAppReason, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<PausedAppReason, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for DisabledAppReason
impl TryFrom<SerializedBytes> for DisabledAppReason
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
sb: SerializedBytes
) -> Result<DisabledAppReason, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<DisabledAppReason, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for DhtOp
impl TryFrom<SerializedBytes> for DhtOp
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<DhtOp, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<DhtOp, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for MigrateAgent
impl TryFrom<SerializedBytes> for MigrateAgent
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<MigrateAgent, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<MigrateAgent, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for WireOps
impl TryFrom<SerializedBytes> for WireOps
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<WireOps, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<WireOps, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for DnaBundle
impl TryFrom<SerializedBytes> for DnaBundle
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<DnaBundle, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<DnaBundle, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for DnaFile
impl TryFrom<SerializedBytes> for DnaFile
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<DnaFile, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<DnaFile, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for EntryDefBufferKey
impl TryFrom<SerializedBytes> for EntryDefBufferKey
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
sb: SerializedBytes
) -> Result<EntryDefBufferKey, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<EntryDefBufferKey, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for DnaWasm
impl TryFrom<SerializedBytes> for DnaWasm
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(serialized_bytes: SerializedBytes) -> Result<Self, Self::Error>
fn try_from(serialized_bytes: SerializedBytes) -> Result<Self, Self::Error>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for WireElementOps
impl TryFrom<SerializedBytes> for WireElementOps
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<WireElementOps, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<WireElementOps, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for WireElement
impl TryFrom<SerializedBytes> for WireElement
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<WireElement, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<WireElement, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for GetElementResponse
impl TryFrom<SerializedBytes> for GetElementResponse
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
sb: SerializedBytes
) -> Result<GetElementResponse, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<GetElementResponse, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for RawGetEntryResponse
impl TryFrom<SerializedBytes> for RawGetEntryResponse
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
sb: SerializedBytes
) -> Result<RawGetEntryResponse, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<RawGetEntryResponse, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for WireEntryOps
impl TryFrom<SerializedBytes> for WireEntryOps
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<WireEntryOps, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<WireEntryOps, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for ChainQueryFilter
impl TryFrom<SerializedBytes> for ChainQueryFilter
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
sb: SerializedBytes
) -> Result<ChainQueryFilter, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<ChainQueryFilter, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for EntryData
impl TryFrom<SerializedBytes> for EntryData
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<EntryData, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<EntryData, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for NewEntryHeader
impl TryFrom<SerializedBytes> for NewEntryHeader
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<NewEntryHeader, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<NewEntryHeader, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for WireNewEntryHeader
impl TryFrom<SerializedBytes> for WireNewEntryHeader
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
sb: SerializedBytes
) -> Result<WireNewEntryHeader, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<WireNewEntryHeader, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for WireCreate
impl TryFrom<SerializedBytes> for WireCreate
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<WireCreate, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<WireCreate, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for WireUpdate
impl TryFrom<SerializedBytes> for WireUpdate
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<WireUpdate, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<WireUpdate, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for WireUpdateRelationship
impl TryFrom<SerializedBytes> for WireUpdateRelationship
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
sb: SerializedBytes
) -> Result<WireUpdateRelationship, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<WireUpdateRelationship, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for WireDelete
impl TryFrom<SerializedBytes> for WireDelete
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<WireDelete, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<WireDelete, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for Link
impl TryFrom<SerializedBytes> for Link
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<Link, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<Link, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for WireLinkMetaKey
impl TryFrom<SerializedBytes> for WireLinkMetaKey
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
sb: SerializedBytes
) -> Result<WireLinkMetaKey, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<WireLinkMetaKey, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for WireLinkKey
impl TryFrom<SerializedBytes> for WireLinkKey
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<WireLinkKey, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<WireLinkKey, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<Sign> for SerializedBytes
impl TryFrom<Sign> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: Sign) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: Sign) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<Signal> for SerializedBytes
impl TryFrom<Signal> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: Signal) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: Signal) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SignedHeader> for SerializedBytes
impl TryFrom<SignedHeader> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: SignedHeader) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: SignedHeader) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<StoppedAppReason> for SerializedBytes
impl TryFrom<StoppedAppReason> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: StoppedAppReason
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: StoppedAppReason
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<StringWrap> for SerializedBytes
impl TryFrom<StringWrap> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: StringWrap) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: StringWrap) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SystemSignal> for SerializedBytes
impl TryFrom<SystemSignal> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: SystemSignal) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: SystemSignal) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<U32Wrap> for SerializedBytes
impl TryFrom<U32Wrap> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: U32Wrap) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: U32Wrap) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl TryFrom<Update> for SerializedBytes
impl TryFrom<Update> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: Update) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: Update) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl TryFrom<UpdateHeader> for SerializedBytes
impl TryFrom<UpdateHeader> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: UpdateHeader) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: UpdateHeader) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl TryFrom<ValidateCallbackResult> for SerializedBytes
impl TryFrom<ValidateCallbackResult> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
t: ValidateCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: ValidateCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<ValidationPackage> for SerializedBytes
impl TryFrom<ValidationPackage> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: ValidationPackage
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: ValidationPackage
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<ValidationPackageCallbackResult> for SerializedBytes
impl TryFrom<ValidationPackageCallbackResult> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: ValidationPackageCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: ValidationPackageCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<ValidationPackageResponse> for SerializedBytes
impl TryFrom<ValidationPackageResponse> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: ValidationPackageResponse
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: ValidationPackageResponse
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl TryFrom<VerifySignature> for SerializedBytes
impl TryFrom<VerifySignature> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: VerifySignature) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: VerifySignature) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<Warrant> for SerializedBytes
impl TryFrom<Warrant> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: Warrant) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: Warrant) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl TryFrom<WasmError> for SerializedBytes
impl TryFrom<WasmError> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: WasmError) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: WasmError) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<WasmZome> for SerializedBytes
impl TryFrom<WasmZome> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: WasmZome) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: WasmZome) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<WireContext> for SerializedBytes
impl TryFrom<WireContext> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: WireContext) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: WireContext) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<WireCreate> for SerializedBytes
impl TryFrom<WireCreate> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: WireCreate) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: WireCreate) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<WireCreateLink> for SerializedBytes
impl TryFrom<WireCreateLink> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: WireCreateLink) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: WireCreateLink) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<WireDelete> for SerializedBytes
impl TryFrom<WireDelete> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: WireDelete) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: WireDelete) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<WireDeleteLink> for SerializedBytes
impl TryFrom<WireDeleteLink> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: WireDeleteLink) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: WireDeleteLink) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<WireElement> for SerializedBytes
impl TryFrom<WireElement> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: WireElement) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: WireElement) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<WireElementOps> for SerializedBytes
impl TryFrom<WireElementOps> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: WireElementOps) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: WireElementOps) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<WireEntryOps> for SerializedBytes
impl TryFrom<WireEntryOps> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: WireEntryOps) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: WireEntryOps) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<WireLink> for SerializedBytes
impl TryFrom<WireLink> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: WireLink) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: WireLink) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<WireLinkKey> for SerializedBytes
impl TryFrom<WireLinkKey> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: WireLinkKey) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: WireLinkKey) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<WireLinkMetaKey> for SerializedBytes
impl TryFrom<WireLinkMetaKey> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: WireLinkMetaKey) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: WireLinkMetaKey) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<WireLinkOps> for SerializedBytes
impl TryFrom<WireLinkOps> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: WireLinkOps) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: WireLinkOps) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<WireLinks> for SerializedBytes
impl TryFrom<WireLinks> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: WireLinks) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: WireLinks) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<WireNewEntryHeader> for SerializedBytes
impl TryFrom<WireNewEntryHeader> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: WireNewEntryHeader
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: WireNewEntryHeader
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<WireOps> for SerializedBytes
impl TryFrom<WireOps> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: WireOps) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: WireOps) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<WireSpanContext> for SerializedBytes
impl TryFrom<WireSpanContext> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: WireSpanContext) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: WireSpanContext) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<WireUpdate> for SerializedBytes
impl TryFrom<WireUpdate> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: WireUpdate) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: WireUpdate) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<WireUpdateRelationship> for SerializedBytes
impl TryFrom<WireUpdateRelationship> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: WireUpdateRelationship
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: WireUpdateRelationship
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl TryFrom<X25519PubKey> for SerializedBytes
impl TryFrom<X25519PubKey> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: X25519PubKey) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: X25519PubKey) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl TryFrom<X25519XSalsa20Poly1305Decrypt> for SerializedBytes
impl TryFrom<X25519XSalsa20Poly1305Decrypt> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
t: X25519XSalsa20Poly1305Decrypt
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: X25519XSalsa20Poly1305Decrypt
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<X25519XSalsa20Poly1305Encrypt> for SerializedBytes
impl TryFrom<X25519XSalsa20Poly1305Encrypt> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: X25519XSalsa20Poly1305Encrypt
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: X25519XSalsa20Poly1305Encrypt
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl TryFrom<XSalsa20Poly1305Decrypt> for SerializedBytes
impl TryFrom<XSalsa20Poly1305Decrypt> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
t: XSalsa20Poly1305Decrypt
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: XSalsa20Poly1305Decrypt
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<XSalsa20Poly1305Encrypt> for SerializedBytes
impl TryFrom<XSalsa20Poly1305Encrypt> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: XSalsa20Poly1305Encrypt
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: XSalsa20Poly1305Encrypt
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl TryFrom<XSalsa20Poly1305KeyRef> for SerializedBytes
impl TryFrom<XSalsa20Poly1305KeyRef> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
t: XSalsa20Poly1305KeyRef
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: XSalsa20Poly1305KeyRef
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl TryFrom<XSalsa20Poly1305Nonce> for SerializedBytes
impl TryFrom<XSalsa20Poly1305Nonce> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
t: XSalsa20Poly1305Nonce
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: XSalsa20Poly1305Nonce
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<YamlProperties> for SerializedBytes
impl TryFrom<YamlProperties> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: YamlProperties) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: YamlProperties) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<ZomeCallResponse> for SerializedBytes
impl TryFrom<ZomeCallResponse> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: ZomeCallResponse
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: ZomeCallResponse
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl TryFrom<ZomeId> for SerializedBytes
impl TryFrom<ZomeId> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: ZomeId) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: ZomeId) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
impl TryFrom<ZomeInfo> for SerializedBytes
impl TryFrom<ZomeInfo> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: ZomeInfo) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: ZomeInfo) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
impl<T> FutureExt for T
impl<T> FutureExt for T
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<T> Pointable for T
impl<T> Pointable for T
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more