#[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
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
impl Clone for SerializedBytes
impl Clone for SerializedBytes
fn 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
impl Debug for SerializedBytes
impl Debug for SerializedBytes
A bit of magic to convert the internal messagepack bytes into roughly equivalent JSON output for the purposes of debugging. 90% of the time you probably want this if you are a dev, to see something that “looks like” a data structure when you do {:?} in a formatted string, rather than a vector of bytes in the remaining 10% of situations where you want to debug the real messagepack bytes, call the .bytes() method on SerializedBytes and debug that.
impl Default for SerializedBytes
impl Default for SerializedBytes
fn default() -> SerializedBytes
fn default() -> SerializedBytes
Returns the “default value” for a type. Read more
impl<'de> Deserialize<'de> for SerializedBytes
impl<'de> Deserialize<'de> for SerializedBytes
fn deserialize<__D>(
__deserializer: __D
) -> Result<SerializedBytes, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<SerializedBytes, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
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.
impl From<SerializedBytes> for UnsafeBytes
impl From<SerializedBytes> for UnsafeBytes
fn from(sb: SerializedBytes) -> UnsafeBytes
fn from(sb: SerializedBytes) -> UnsafeBytes
Converts to this type from the input type.
impl From<UnsafeBytes> for SerializedBytes
impl From<UnsafeBytes> for SerializedBytes
fn from(b: UnsafeBytes) -> SerializedBytes
fn from(b: UnsafeBytes) -> SerializedBytes
Converts to this type from the input type.
impl Hash for SerializedBytes
impl Hash for SerializedBytes
impl Ord for SerializedBytes
impl Ord for SerializedBytes
impl PartialEq<SerializedBytes> for SerializedBytes
impl PartialEq<SerializedBytes> for SerializedBytes
fn eq(&self, other: &SerializedBytes) -> bool
fn eq(&self, other: &SerializedBytes) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &SerializedBytes) -> bool
fn ne(&self, other: &SerializedBytes) -> bool
This method tests for !=
.
impl PartialOrd<SerializedBytes> for SerializedBytes
impl PartialOrd<SerializedBytes> for SerializedBytes
fn partial_cmp(&self, other: &SerializedBytes) -> Option<Ordering>
fn partial_cmp(&self, other: &SerializedBytes) -> Option<Ordering>
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
impl Serialize for SerializedBytes
impl Serialize for SerializedBytes
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<'_> TryFrom<&'_ ()> for SerializedBytes
impl<'_> TryFrom<&'_ ()> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn 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<&'_ 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<&'_ Anchor> for SerializedBytes
impl TryFrom<&'_ Anchor> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &Anchor) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &Anchor) -> 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.
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<&'_ 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.
sourceimpl TryFrom<&'_ Component> for SerializedBytes
impl TryFrom<&'_ Component> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &Component) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &Component) -> 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.
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<&'_ 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.
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.
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.
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<&'_ 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<&'_ 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.
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<&'_ Path> for SerializedBytes
impl TryFrom<&'_ Path> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &Path) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &Path) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ PathEntry> for SerializedBytes
impl TryFrom<&'_ PathEntry> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &PathEntry) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &PathEntry) -> 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<&'_ 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.
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.
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.
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<&'_ 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<'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.
fn try_from(
s: &'a SerializedBytes
) -> Result<SerializedBytes, <SerializedBytes as TryFrom<&'a SerializedBytes>>::Error>
fn try_from(
s: &'a SerializedBytes
) -> Result<SerializedBytes, <SerializedBytes as TryFrom<&'a SerializedBytes>>::Error>
Performs the conversion.
impl TryFrom<()> for SerializedBytes
impl TryFrom<()> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn 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<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<Anchor> for SerializedBytes
impl TryFrom<Anchor> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: Anchor) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: Anchor) -> 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.
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<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.
sourceimpl TryFrom<Component> for SerializedBytes
impl TryFrom<Component> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: Component) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: Component) -> 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.
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<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.
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.
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.
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<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<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.
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<Path> for SerializedBytes
impl TryFrom<Path> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: Path) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: Path) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<PathEntry> for SerializedBytes
impl TryFrom<PathEntry> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: PathEntry) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: PathEntry) -> 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 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 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.
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 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 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 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 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 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.
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 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 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.
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.
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 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 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 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 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 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 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 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 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 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.
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.
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 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 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 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 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.
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 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 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 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 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 ()
impl TryFrom<SerializedBytes> for ()
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<(), SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<(), 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 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 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 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 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 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.
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 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 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 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.
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.
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 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.
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 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 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.
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 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 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 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 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.
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 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 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 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 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 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 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.
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 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 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 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.
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.
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 Anchor
impl TryFrom<SerializedBytes> for Anchor
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<Anchor, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<Anchor, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for Component
impl TryFrom<SerializedBytes> for Component
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<Component, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<Component, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for Path
impl TryFrom<SerializedBytes> for Path
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<Path, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<Path, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for PathEntry
impl TryFrom<SerializedBytes> for PathEntry
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<PathEntry, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<PathEntry, 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.
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.
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<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.
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.
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.
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<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.
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
fn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
T: Future, type Output = <T as Future>::Output;
sourcefn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
fn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
T: Future, type Output = <T as Future>::Output;
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T> where
T: Future, type Output = <T as Future>::Output;
where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T> where
T: Future, type Output = <T as Future>::Output;
where
S: Into<Dispatch>,
T: Future, type Output = <T as Future>::Output;
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T> where
T: Future, type Output = <T as Future>::Output;
fn with_current_subscriber(self) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T> where
T: Future, type Output = <T as Future>::Output;
T: Future, type Output = <T as Future>::Output;
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more