Struct holochain_types::prelude::SerializedBytes
source · [−]#[repr(transparent)]pub struct SerializedBytes(_);
Expand description
A Canonical Serialized Bytes representation for data If you have a data structure that needs a canonical byte representation use this Always round-trip through SerializedBytes via. a single TryFrom implementation. This ensures that the internal bytes of SerializedBytes are indeed canonical. The corrolary is that if bytes are NOT wrapped in SerializedBytes we can assume they are NOT canonical. Typically we need a canonical serialization when data is to be handled at the byte level by independently implemented and maintained systems.
Examples of times we need a canonical set of bytes to represent data:
- cryptographic operations
- moving across the host/guest wasm boundary
- putting data on the network
Examples of times where we may not need a canonical representation and so may not need this:
- round tripping data through a database that has its own serialization preferences
- debug output or logging of data that is to be human readible
- moving between data types within a single system that has no external facing representation
uses #[repr(transparent)] to maximise compatibility with ffi @see https://doc.rust-lang.org/1.26.2/unstable-book/language-features/repr-transparent.html#enter-reprtransparent
uses serde_bytes for efficient serialization and deserialization without this every byte will be individually round tripped through serde @see https://crates.io/crates/serde_bytes
Implementations
Trait Implementations
sourceimpl<'arbitrary> Arbitrary<'arbitrary> for SerializedBytes
impl<'arbitrary> Arbitrary<'arbitrary> for SerializedBytes
sourcepub fn arbitrary(
u: &mut Unstructured<'arbitrary>
) -> Result<SerializedBytes, Error>
pub fn arbitrary(
u: &mut Unstructured<'arbitrary>
) -> Result<SerializedBytes, Error>
Generate an arbitrary value of Self
from the given unstructured data. Read more
sourcepub fn arbitrary_take_rest(
u: Unstructured<'arbitrary>
) -> Result<SerializedBytes, Error>
pub fn arbitrary_take_rest(
u: Unstructured<'arbitrary>
) -> Result<SerializedBytes, Error>
Generate an arbitrary value of Self
from the entirety of the given unstructured data. Read more
sourceimpl AsRef<SerializedBytes> for AppEntryBytes
impl AsRef<SerializedBytes> for AppEntryBytes
sourcepub fn as_ref(&self) -> &SerializedBytes
pub fn as_ref(&self) -> &SerializedBytes
Performs the conversion.
sourceimpl Borrow<SerializedBytes> for AppEntryBytes
impl Borrow<SerializedBytes> for AppEntryBytes
sourcepub fn borrow(&self) -> &SerializedBytes
pub fn borrow(&self) -> &SerializedBytes
Immutably borrows from an owned value. Read more
sourceimpl Clone for SerializedBytes
impl Clone for SerializedBytes
sourcepub fn clone(&self) -> SerializedBytes
pub fn clone(&self) -> SerializedBytes
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SerializedBytes
impl Debug for SerializedBytes
A bit of magic to convert the internal messagepack bytes into roughly equivalent JSON output for the purposes of debugging. 90% of the time you probably want this if you are a dev, to see something that “looks like” a data structure when you do {:?} in a formatted string, rather than a vector of bytes in the remaining 10% of situations where you want to debug the real messagepack bytes, call the .bytes() method on SerializedBytes and debug that.
sourceimpl Default for SerializedBytes
impl Default for SerializedBytes
sourcepub fn default() -> SerializedBytes
pub fn default() -> SerializedBytes
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for SerializedBytes
impl<'de> Deserialize<'de> for SerializedBytes
sourcepub fn deserialize<__D>(
__deserializer: __D
) -> Result<SerializedBytes, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub 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
sourceimpl From<AppEntryBytes> for SerializedBytes
impl From<AppEntryBytes> for SerializedBytes
sourcepub fn from(aeb: AppEntryBytes) -> SerializedBytes
pub fn from(aeb: AppEntryBytes) -> SerializedBytes
Performs the conversion.
sourceimpl From<SerializedBytes> for UnsafeBytes
impl From<SerializedBytes> for UnsafeBytes
sourcepub fn from(sb: SerializedBytes) -> UnsafeBytes
pub fn from(sb: SerializedBytes) -> UnsafeBytes
Performs the conversion.
sourceimpl From<UnsafeBytes> for SerializedBytes
impl From<UnsafeBytes> for SerializedBytes
sourcepub fn from(b: UnsafeBytes) -> SerializedBytes
pub fn from(b: UnsafeBytes) -> SerializedBytes
Performs the conversion.
sourceimpl Hash for SerializedBytes
impl Hash for SerializedBytes
sourceimpl Ord for SerializedBytes
impl Ord for SerializedBytes
sourceimpl PartialEq<SerializedBytes> for SerializedBytes
impl PartialEq<SerializedBytes> for SerializedBytes
sourcepub fn eq(&self, other: &SerializedBytes) -> bool
pub fn eq(&self, other: &SerializedBytes) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcepub fn ne(&self, other: &SerializedBytes) -> bool
pub fn ne(&self, other: &SerializedBytes) -> bool
This method tests for !=
.
sourceimpl PartialOrd<SerializedBytes> for SerializedBytes
impl PartialOrd<SerializedBytes> for SerializedBytes
sourcepub fn partial_cmp(&self, other: &SerializedBytes) -> Option<Ordering>
pub fn partial_cmp(&self, other: &SerializedBytes) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl Serialize for SerializedBytes
impl Serialize for SerializedBytes
sourcepub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
sourceimpl TryFrom<&'_ ()> for SerializedBytes
impl TryFrom<&'_ ()> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(t: &()) -> Result<SerializedBytes, SerializedBytesError>
pub 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.
sourcepub fn try_from(
t: &ActivityRequest
) -> Result<SerializedBytes, SerializedBytesError>
pub 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.
sourcepub fn try_from(
t: &AgentActivity
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: &AgentActivity
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ AgentActivityResponse<HoloHash<Header>>> for SerializedBytes
impl TryFrom<&'_ AgentActivityResponse<HoloHash<Header>>> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: &AgentActivityResponse<HeaderHash>
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &AgentActivityResponse<HeaderHash>
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ AgentActivityResponse<SignedHeaderHashed>> for SerializedBytes
impl TryFrom<&'_ AgentActivityResponse<SignedHeaderHashed>> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: &AgentActivityResponse
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &AgentActivityResponse
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ AgentInfo> for SerializedBytes
impl TryFrom<&'_ AgentInfo> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(t: &AgentInfo) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: &AgentInfo) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
t: &AgentValidationPkg
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: &AgentValidationPkg
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
t: &AppEntryType
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: &AppEntryType
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ AppStatus> for SerializedBytes
impl TryFrom<&'_ AppStatus> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &AppStatus) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &AppStatus) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ BoolWrap> for SerializedBytes
impl TryFrom<&'_ BoolWrap> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(t: &BoolWrap) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: &BoolWrap) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(t: &CapClaim) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: &CapClaim) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(t: &CapSecret) -> Result<SerializedBytes, SerializedBytesError>
pub 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.
sourcepub fn try_from(t: &CellId) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: &CellId) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ ChainItems<SignedHeaderHashed>> for SerializedBytes
impl TryFrom<&'_ ChainItems<SignedHeaderHashed>> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &ChainItems) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &ChainItems) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ ChainQueryFilter> for SerializedBytes
impl TryFrom<&'_ ChainQueryFilter> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(
t: &ChainQueryFilter
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: &ChainQueryFilter
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(t: &CloseChain) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: &CloseChain) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(t: &Create) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: &Create) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(t: &CreateLink) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: &CreateLink) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(t: &Delete) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: &Delete) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
t: &DeleteHeader
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: &DeleteHeader
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(t: &DeleteLink) -> Result<SerializedBytes, SerializedBytesError>
pub 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.
sourcepub fn try_from(t: &Details) -> Result<SerializedBytes, SerializedBytesError>
pub 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.
sourcepub fn try_from(
t: &DeterministicGetAgentActivityFilter
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: &DeterministicGetAgentActivityFilter
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ DhtOp> for SerializedBytes
impl TryFrom<&'_ DhtOp> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &DhtOp) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &DhtOp) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ DisabledAppReason> for SerializedBytes
impl TryFrom<&'_ DisabledAppReason> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: &DisabledAppReason
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &DisabledAppReason
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(t: &Dna) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: &Dna) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ DnaBundle> for SerializedBytes
impl TryFrom<&'_ DnaBundle> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &DnaBundle) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &DnaBundle) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ DnaDef> for SerializedBytes
impl TryFrom<&'_ DnaDef> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(t: &DnaDef) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: &DnaDef) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ DnaFile> for SerializedBytes
impl TryFrom<&'_ DnaFile> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &DnaFile) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &DnaFile) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ DnaWasm> for SerializedBytes
impl TryFrom<&'_ DnaWasm> for SerializedBytes
sourceimpl 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.
sourcepub fn try_from(t: &Element) -> Result<SerializedBytes, SerializedBytesError>
pub 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.
sourcepub fn try_from(
t: &ElementDetails
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: &ElementDetails
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
t: &ElementEntry
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: &ElementEntry
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(t: &Entry) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: &Entry) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ EntryData> for SerializedBytes
impl TryFrom<&'_ EntryData> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &EntryData) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &EntryData) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ EntryDefBufferKey> for SerializedBytes
impl TryFrom<&'_ EntryDefBufferKey> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: &EntryDefBufferKey
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &EntryDefBufferKey
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
t: &EntryDefIndex
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: &EntryDefIndex
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
t: &EntryDefsCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
pub 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.
sourcepub fn try_from(
t: &EntryDetails
) -> Result<SerializedBytes, SerializedBytesError>
pub 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.
sourcepub fn try_from(
t: &EntryHashes
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: &EntryHashes
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(t: &EntryType) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: &EntryType) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
t: &EntryVisibility
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: &EntryVisibility
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ EntryWithDefId> for SerializedBytes
impl TryFrom<&'_ EntryWithDefId> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(
t: &EntryWithDefId
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: &EntryWithDefId
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
t: &GenesisSelfCheckData
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: &GenesisSelfCheckData
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ GetElementResponse> for SerializedBytes
impl TryFrom<&'_ GetElementResponse> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: &GetElementResponse
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &GetElementResponse
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ GetLinksResponse> for SerializedBytes
impl TryFrom<&'_ GetLinksResponse> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: &GetLinksResponse
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &GetLinksResponse
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(t: &Header) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: &Header) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ HeaderHashedVec> for SerializedBytes
impl TryFrom<&'_ HeaderHashedVec> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(
t: &HeaderHashedVec
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: &HeaderHashedVec
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ HeaderHashes> for SerializedBytes
impl TryFrom<&'_ HeaderHashes> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(
t: &HeaderHashes
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: &HeaderHashes
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(t: &HeaderType) -> Result<SerializedBytes, SerializedBytesError>
pub 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.
sourcepub fn try_from(
t: &HoloHash<T>
) -> Result<SerializedBytes, SerializedBytesError>
pub 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.
sourcepub fn try_from(
t: &InitCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: &InitCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
t: &InitZomesComplete
) -> Result<SerializedBytes, SerializedBytesError>
pub 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.
sourcepub fn try_from(t: &Link) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: &Link) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ Link> for SerializedBytes
impl TryFrom<&'_ Link> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &Link) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &Link) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ LinkDetails> for SerializedBytes
impl TryFrom<&'_ LinkDetails> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(
t: &LinkDetails
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: &LinkDetails
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(t: &LinkTag) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: &LinkTag) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ Links> for SerializedBytes
impl TryFrom<&'_ Links> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(t: &Links) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: &Links) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ MetadataSet> for SerializedBytes
impl TryFrom<&'_ MetadataSet> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &MetadataSet) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &MetadataSet) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ MigrateAgent> for SerializedBytes
impl TryFrom<&'_ MigrateAgent> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(
t: &MigrateAgent
) -> Result<SerializedBytes, SerializedBytesError>
pub 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.
sourcepub fn try_from(
t: &MigrateAgentCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: &MigrateAgentCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ NewEntryHeader> for SerializedBytes
impl TryFrom<&'_ NewEntryHeader> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &NewEntryHeader) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &NewEntryHeader) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(t: &OpenChain) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: &OpenChain) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ PausedAppReason> for SerializedBytes
impl TryFrom<&'_ PausedAppReason> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: &PausedAppReason
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &PausedAppReason
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ PostCommitCallbackResult> for SerializedBytes
impl TryFrom<&'_ PostCommitCallbackResult> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(
t: &PostCommitCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: &PostCommitCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ RawGetEntryResponse> for SerializedBytes
impl TryFrom<&'_ RawGetEntryResponse> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: &RawGetEntryResponse
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &RawGetEntryResponse
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ RemoteSignal> for SerializedBytes
impl TryFrom<&'_ RemoteSignal> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(
t: &RemoteSignal
) -> Result<SerializedBytes, SerializedBytesError>
pub 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.
sourcepub fn try_from(t: &Sign) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: &Sign) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ Signal> for SerializedBytes
impl TryFrom<&'_ Signal> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &Signal) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &Signal) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ SignedHeader> for SerializedBytes
impl TryFrom<&'_ SignedHeader> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(
t: &SignedHeader
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: &SignedHeader
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ StoppedAppReason> for SerializedBytes
impl TryFrom<&'_ StoppedAppReason> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: &StoppedAppReason
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &StoppedAppReason
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ StringWrap> for SerializedBytes
impl TryFrom<&'_ StringWrap> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(t: &StringWrap) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: &StringWrap) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ SystemSignal> for SerializedBytes
impl TryFrom<&'_ SystemSignal> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &SystemSignal) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &SystemSignal) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ Timestamp> for SerializedBytes
impl TryFrom<&'_ Timestamp> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(t: &Timestamp) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: &Timestamp) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ U32Wrap> for SerializedBytes
impl TryFrom<&'_ U32Wrap> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(t: &U32Wrap) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: &U32Wrap) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl<'a> TryFrom<&'_ UniqueForm<'a>> for SerializedBytes
impl<'a> TryFrom<&'_ UniqueForm<'a>> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(u: &UniqueForm<'a>) -> Result<Self, Self::Error>
fn try_from(u: &UniqueForm<'a>) -> Result<Self, Self::Error>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(t: &Update) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: &Update) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
t: &UpdateHeader
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: &UpdateHeader
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
t: &ValidateCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: &ValidateCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ ValidateCreateLinkData> for SerializedBytes
impl TryFrom<&'_ ValidateCreateLinkData> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(
t: &ValidateCreateLinkData
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: &ValidateCreateLinkData
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ ValidateData> for SerializedBytes
impl TryFrom<&'_ ValidateData> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(
t: &ValidateData
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: &ValidateData
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ ValidateDeleteLinkData> for SerializedBytes
impl TryFrom<&'_ ValidateDeleteLinkData> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(
t: &ValidateDeleteLinkData
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: &ValidateDeleteLinkData
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ ValidateLinkCallbackResult> for SerializedBytes
impl TryFrom<&'_ ValidateLinkCallbackResult> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(
t: &ValidateLinkCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: &ValidateLinkCallbackResult
) -> 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.
sourcepub fn try_from(
t: &ValidationPackage
) -> Result<SerializedBytes, SerializedBytesError>
pub 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.
sourcepub fn try_from(
t: &ValidationPackageCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: &ValidationPackageCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ ValidationPackageResponse> for SerializedBytes
impl TryFrom<&'_ ValidationPackageResponse> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: &ValidationPackageResponse
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &ValidationPackageResponse
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
t: &VerifySignature
) -> Result<SerializedBytes, SerializedBytesError>
pub 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.
sourcepub fn try_from(t: &Warrant) -> Result<SerializedBytes, SerializedBytesError>
pub 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.
pub fn try_from(t: &WasmError) -> Result<SerializedBytes, SerializedBytesError>
pub 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.
sourcepub fn try_from(t: &WasmZome) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: &WasmZome) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ WireContext> for SerializedBytes
impl TryFrom<&'_ WireContext> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(
t: &WireContext
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: &WireContext
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ WireCreate> for SerializedBytes
impl TryFrom<&'_ WireCreate> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &WireCreate) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &WireCreate) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ WireCreateLink> for SerializedBytes
impl TryFrom<&'_ WireCreateLink> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &WireCreateLink) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &WireCreateLink) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ WireDelete> for SerializedBytes
impl TryFrom<&'_ WireDelete> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &WireDelete) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &WireDelete) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ WireDeleteLink> for SerializedBytes
impl TryFrom<&'_ WireDeleteLink> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &WireDeleteLink) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &WireDeleteLink) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ WireElement> for SerializedBytes
impl TryFrom<&'_ WireElement> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &WireElement) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &WireElement) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ WireElementOps> for SerializedBytes
impl TryFrom<&'_ WireElementOps> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &WireElementOps) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &WireElementOps) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ WireEntryOps> for SerializedBytes
impl TryFrom<&'_ WireEntryOps> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &WireEntryOps) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &WireEntryOps) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ WireLink> for SerializedBytes
impl TryFrom<&'_ WireLink> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(t: &WireLink) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: &WireLink) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ WireLinkKey> for SerializedBytes
impl TryFrom<&'_ WireLinkKey> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &WireLinkKey) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &WireLinkKey) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ WireLinkMetaKey> for SerializedBytes
impl TryFrom<&'_ WireLinkMetaKey> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: &WireLinkMetaKey
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &WireLinkMetaKey
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ WireLinkOps> for SerializedBytes
impl TryFrom<&'_ WireLinkOps> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &WireLinkOps) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &WireLinkOps) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ WireLinks> for SerializedBytes
impl TryFrom<&'_ WireLinks> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(t: &WireLinks) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: &WireLinks) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ WireNewEntryHeader> for SerializedBytes
impl TryFrom<&'_ WireNewEntryHeader> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: &WireNewEntryHeader
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &WireNewEntryHeader
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ WireOps> for SerializedBytes
impl TryFrom<&'_ WireOps> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &WireOps) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &WireOps) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ WireSpanContext> for SerializedBytes
impl TryFrom<&'_ WireSpanContext> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(
t: &WireSpanContext
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: &WireSpanContext
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ WireUpdate> for SerializedBytes
impl TryFrom<&'_ WireUpdate> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &WireUpdate) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &WireUpdate) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ WireUpdateRelationship> for SerializedBytes
impl TryFrom<&'_ WireUpdateRelationship> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: &WireUpdateRelationship
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &WireUpdateRelationship
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
t: &X25519PubKey
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: &X25519PubKey
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
t: &X25519XSalsa20Poly1305Decrypt
) -> Result<SerializedBytes, SerializedBytesError>
pub 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.
sourcepub fn try_from(
t: &X25519XSalsa20Poly1305Encrypt
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: &X25519XSalsa20Poly1305Encrypt
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
t: &XSalsa20Poly1305Decrypt
) -> Result<SerializedBytes, SerializedBytesError>
pub 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.
sourcepub fn try_from(
t: &XSalsa20Poly1305Encrypt
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: &XSalsa20Poly1305Encrypt
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
t: &XSalsa20Poly1305KeyRef
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: &XSalsa20Poly1305KeyRef
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
t: &XSalsa20Poly1305Nonce
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: &XSalsa20Poly1305Nonce
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ YamlProperties> for SerializedBytes
impl TryFrom<&'_ YamlProperties> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &YamlProperties) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &YamlProperties) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<&'_ ZomeCallResponse> for SerializedBytes
impl TryFrom<&'_ ZomeCallResponse> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(
t: &ZomeCallResponse
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: &ZomeCallResponse
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(t: &ZomeId) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: &ZomeId) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(t: &ZomeInfo) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: &ZomeInfo) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl<'a> TryFrom<&'a SerializedBytes> for SerializedBytes
impl<'a> TryFrom<&'a SerializedBytes> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(
s: &'a SerializedBytes
) -> Result<SerializedBytes, <SerializedBytes as TryFrom<&'a SerializedBytes>>::Error>
pub fn try_from(
s: &'a SerializedBytes
) -> Result<SerializedBytes, <SerializedBytes as TryFrom<&'a SerializedBytes>>::Error>
Performs the conversion.
sourceimpl TryFrom<()> for SerializedBytes
impl TryFrom<()> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(t: ()) -> Result<SerializedBytes, SerializedBytesError>
pub 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.
sourcepub fn try_from(
t: ActivityRequest
) -> Result<SerializedBytes, SerializedBytesError>
pub 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.
sourcepub fn try_from(
t: AgentActivity
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: AgentActivity
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<AgentActivityResponse<HoloHash<Header>>> for SerializedBytes
impl TryFrom<AgentActivityResponse<HoloHash<Header>>> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: AgentActivityResponse<HeaderHash>
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: AgentActivityResponse<HeaderHash>
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<AgentActivityResponse<SignedHeaderHashed>> for SerializedBytes
impl TryFrom<AgentActivityResponse<SignedHeaderHashed>> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: AgentActivityResponse
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: AgentActivityResponse
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<AgentInfo> for SerializedBytes
impl TryFrom<AgentInfo> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(t: AgentInfo) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: AgentInfo) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
t: AgentValidationPkg
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: AgentValidationPkg
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
t: AppEntryType
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: AppEntryType
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<AppStatus> for SerializedBytes
impl TryFrom<AppStatus> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: AppStatus) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: AppStatus) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<BoolWrap> for SerializedBytes
impl TryFrom<BoolWrap> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(t: BoolWrap) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: BoolWrap) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(t: CapClaim) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: CapClaim) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(t: CapSecret) -> Result<SerializedBytes, SerializedBytesError>
pub 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.
sourcepub fn try_from(t: CellId) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: CellId) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<ChainItems<SignedHeaderHashed>> for SerializedBytes
impl TryFrom<ChainItems<SignedHeaderHashed>> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: ChainItems) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: ChainItems) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<ChainQueryFilter> for SerializedBytes
impl TryFrom<ChainQueryFilter> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(
t: ChainQueryFilter
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: ChainQueryFilter
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(t: CloseChain) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: CloseChain) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(t: Create) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: Create) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(t: CreateLink) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: CreateLink) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(t: Delete) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: Delete) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
t: DeleteHeader
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: DeleteHeader
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(t: DeleteLink) -> Result<SerializedBytes, SerializedBytesError>
pub 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.
sourcepub fn try_from(t: Details) -> Result<SerializedBytes, SerializedBytesError>
pub 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.
sourcepub fn try_from(
t: DeterministicGetAgentActivityFilter
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: DeterministicGetAgentActivityFilter
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<DhtOp> for SerializedBytes
impl TryFrom<DhtOp> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: DhtOp) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: DhtOp) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<DisabledAppReason> for SerializedBytes
impl TryFrom<DisabledAppReason> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: DisabledAppReason
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: DisabledAppReason
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(t: Dna) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: Dna) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<DnaBundle> for SerializedBytes
impl TryFrom<DnaBundle> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: DnaBundle) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: DnaBundle) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<DnaDef> for SerializedBytes
impl TryFrom<DnaDef> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(t: DnaDef) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: DnaDef) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<DnaFile> for SerializedBytes
impl TryFrom<DnaFile> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: DnaFile) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: DnaFile) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<DnaWasm> for SerializedBytes
impl TryFrom<DnaWasm> for SerializedBytes
sourceimpl 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.
sourcepub fn try_from(t: Element) -> Result<SerializedBytes, SerializedBytesError>
pub 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.
sourcepub fn try_from(
t: ElementDetails
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: ElementDetails
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
t: ElementEntry
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: ElementEntry
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(t: Entry) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: Entry) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<EntryData> for SerializedBytes
impl TryFrom<EntryData> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: EntryData) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: EntryData) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<EntryDefBufferKey> for SerializedBytes
impl TryFrom<EntryDefBufferKey> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: EntryDefBufferKey
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: EntryDefBufferKey
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
t: EntryDefIndex
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: EntryDefIndex
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
t: EntryDefsCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
pub 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.
sourcepub fn try_from(
t: EntryDetails
) -> Result<SerializedBytes, SerializedBytesError>
pub 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.
sourcepub fn try_from(t: EntryHashes) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: EntryHashes) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(t: EntryType) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: EntryType) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
t: EntryVisibility
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: EntryVisibility
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<EntryWithDefId> for SerializedBytes
impl TryFrom<EntryWithDefId> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(
t: EntryWithDefId
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: EntryWithDefId
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
t: GenesisSelfCheckData
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: GenesisSelfCheckData
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<GetElementResponse> for SerializedBytes
impl TryFrom<GetElementResponse> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: GetElementResponse
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: GetElementResponse
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<GetLinksResponse> for SerializedBytes
impl TryFrom<GetLinksResponse> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: GetLinksResponse
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: GetLinksResponse
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(t: Header) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: Header) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<HeaderHashedVec> for SerializedBytes
impl TryFrom<HeaderHashedVec> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(
t: HeaderHashedVec
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: HeaderHashedVec
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<HeaderHashes> for SerializedBytes
impl TryFrom<HeaderHashes> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(
t: HeaderHashes
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: HeaderHashes
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(t: HeaderType) -> Result<SerializedBytes, SerializedBytesError>
pub 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.
sourcepub fn try_from(t: HoloHash<T>) -> Result<SerializedBytes, SerializedBytesError>
pub 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.
sourcepub fn try_from(
t: InitCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: InitCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
t: InitZomesComplete
) -> Result<SerializedBytes, SerializedBytesError>
pub 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.
sourcepub fn try_from(t: Link) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: Link) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<Link> for SerializedBytes
impl TryFrom<Link> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: Link) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: Link) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<LinkDetails> for SerializedBytes
impl TryFrom<LinkDetails> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(t: LinkDetails) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: LinkDetails) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(t: LinkTag) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: LinkTag) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<Links> for SerializedBytes
impl TryFrom<Links> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(t: Links) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: Links) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<MetadataSet> for SerializedBytes
impl TryFrom<MetadataSet> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: MetadataSet) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: MetadataSet) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<MigrateAgent> for SerializedBytes
impl TryFrom<MigrateAgent> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(
t: MigrateAgent
) -> Result<SerializedBytes, SerializedBytesError>
pub 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.
sourcepub fn try_from(
t: MigrateAgentCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: MigrateAgentCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<NewEntryHeader> for SerializedBytes
impl TryFrom<NewEntryHeader> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: NewEntryHeader) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: NewEntryHeader) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(t: OpenChain) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: OpenChain) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<PausedAppReason> for SerializedBytes
impl TryFrom<PausedAppReason> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: PausedAppReason) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: PausedAppReason) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<PostCommitCallbackResult> for SerializedBytes
impl TryFrom<PostCommitCallbackResult> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(
t: PostCommitCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: PostCommitCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<RawGetEntryResponse> for SerializedBytes
impl TryFrom<RawGetEntryResponse> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: RawGetEntryResponse
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: RawGetEntryResponse
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<RemoteSignal> for SerializedBytes
impl TryFrom<RemoteSignal> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(
t: RemoteSignal
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: RemoteSignal
) -> Result<SerializedBytes, 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.
sourcepub fn try_from(
sb: SerializedBytes
) -> Result<HoloHash<T>, SerializedBytesError>
pub fn try_from(
sb: SerializedBytes
) -> Result<HoloHash<T>, 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.
sourcepub fn try_from(
sb: SerializedBytes
) -> Result<EntryHashes, SerializedBytesError>
pub fn try_from(
sb: SerializedBytes
) -> Result<EntryHashes, 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.
sourcepub fn try_from(
sb: SerializedBytes
) -> Result<ZomeCallResponse, SerializedBytesError>
pub fn try_from(
sb: SerializedBytes
) -> Result<ZomeCallResponse, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for Link
impl TryFrom<SerializedBytes> for Link
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<Link, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<Link, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for WireLinkMetaKey
impl TryFrom<SerializedBytes> for WireLinkMetaKey
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
sb: SerializedBytes
) -> Result<WireLinkMetaKey, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<WireLinkMetaKey, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for WireLinkKey
impl TryFrom<SerializedBytes> for WireLinkKey
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<WireLinkKey, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<WireLinkKey, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for WireLinkOps
impl TryFrom<SerializedBytes> for WireLinkOps
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<WireLinkOps, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<WireLinkOps, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for WireCreateLink
impl TryFrom<SerializedBytes> for WireCreateLink
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<WireCreateLink, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<WireCreateLink, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for WireDeleteLink
impl TryFrom<SerializedBytes> for WireDeleteLink
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<WireDeleteLink, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<WireDeleteLink, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for GetLinksResponse
impl TryFrom<SerializedBytes> for GetLinksResponse
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
sb: SerializedBytes
) -> Result<GetLinksResponse, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<GetLinksResponse, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for MetadataSet
impl TryFrom<SerializedBytes> for MetadataSet
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<MetadataSet, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<MetadataSet, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for YamlProperties
impl TryFrom<SerializedBytes> for YamlProperties
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<YamlProperties, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<YamlProperties, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for Signal
impl TryFrom<SerializedBytes> for Signal
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<Signal, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<Signal, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for InitZomesComplete
impl TryFrom<SerializedBytes> for InitZomesComplete
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(
sb: SerializedBytes
) -> Result<InitZomesComplete, SerializedBytesError>
pub fn try_from(
sb: SerializedBytes
) -> Result<InitZomesComplete, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for SystemSignal
impl TryFrom<SerializedBytes> for SystemSignal
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<SystemSignal, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<SystemSignal, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for ValidationPackageResponse
impl TryFrom<SerializedBytes> for ValidationPackageResponse
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
sb: SerializedBytes
) -> Result<ValidationPackageResponse, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<ValidationPackageResponse, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for CapClaim
impl TryFrom<SerializedBytes> for CapClaim
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(sb: SerializedBytes) -> Result<CapClaim, SerializedBytesError>
pub fn try_from(sb: SerializedBytes) -> Result<CapClaim, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(sb: SerializedBytes) -> Result<CapSecret, SerializedBytesError>
pub fn try_from(sb: SerializedBytes) -> Result<CapSecret, 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.
sourcepub fn try_from(sb: SerializedBytes) -> Result<CellId, SerializedBytesError>
pub fn try_from(sb: SerializedBytes) -> Result<CellId, 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.
sourcepub fn try_from(
sb: SerializedBytes
) -> Result<ElementDetails, SerializedBytesError>
pub fn try_from(
sb: SerializedBytes
) -> Result<ElementDetails, 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.
sourcepub fn try_from(
sb: SerializedBytes
) -> Result<DeterministicGetAgentActivityFilter, SerializedBytesError>
pub fn try_from(
sb: SerializedBytes
) -> Result<DeterministicGetAgentActivityFilter, 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.
sourcepub fn try_from(sb: SerializedBytes) -> Result<Warrant, SerializedBytesError>
pub fn try_from(sb: SerializedBytes) -> Result<Warrant, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for ValidateDeleteLinkData
impl TryFrom<SerializedBytes> for ValidateDeleteLinkData
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(
sb: SerializedBytes
) -> Result<ValidateDeleteLinkData, SerializedBytesError>
pub fn try_from(
sb: SerializedBytes
) -> Result<ValidateDeleteLinkData, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
sb: SerializedBytes
) -> Result<ElementEntry, SerializedBytesError>
pub fn try_from(
sb: SerializedBytes
) -> Result<ElementEntry, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for ()
impl TryFrom<SerializedBytes> for ()
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(sb: SerializedBytes) -> Result<(), SerializedBytesError>
pub fn try_from(sb: SerializedBytes) -> Result<(), SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
sb: SerializedBytes
) -> Result<UpdateHeader, SerializedBytesError>
pub fn try_from(
sb: SerializedBytes
) -> Result<UpdateHeader, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for ValidateCreateLinkData
impl TryFrom<SerializedBytes> for ValidateCreateLinkData
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(
sb: SerializedBytes
) -> Result<ValidateCreateLinkData, SerializedBytesError>
pub fn try_from(
sb: SerializedBytes
) -> Result<ValidateCreateLinkData, 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.
sourcepub fn try_from(
sb: SerializedBytes
) -> Result<ValidationPackage, SerializedBytesError>
pub fn try_from(
sb: SerializedBytes
) -> Result<ValidationPackage, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
sb: SerializedBytes
) -> Result<VerifySignature, SerializedBytesError>
pub fn try_from(
sb: SerializedBytes
) -> Result<VerifySignature, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(sb: SerializedBytes) -> Result<Entry, SerializedBytesError>
pub fn try_from(sb: SerializedBytes) -> Result<Entry, 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.
sourcepub fn try_from(
sb: SerializedBytes
) -> Result<ChainQueryFilter, SerializedBytesError>
pub fn try_from(
sb: SerializedBytes
) -> Result<ChainQueryFilter, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(sb: SerializedBytes) -> Result<ZomeId, SerializedBytesError>
pub fn try_from(sb: SerializedBytes) -> Result<ZomeId, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
sb: SerializedBytes
) -> Result<AgentValidationPkg, SerializedBytesError>
pub fn try_from(
sb: SerializedBytes
) -> Result<AgentValidationPkg, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for HeaderHashedVec
impl TryFrom<SerializedBytes> for HeaderHashedVec
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(
sb: SerializedBytes
) -> Result<HeaderHashedVec, SerializedBytesError>
pub fn try_from(
sb: SerializedBytes
) -> Result<HeaderHashedVec, 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.
sourcepub fn try_from(
sb: SerializedBytes
) -> Result<RemoteSignal, SerializedBytesError>
pub fn try_from(
sb: SerializedBytes
) -> Result<RemoteSignal, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
sb: SerializedBytes
) -> Result<EntryDefIndex, SerializedBytesError>
pub fn try_from(
sb: SerializedBytes
) -> Result<EntryDefIndex, 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.
sourcepub fn try_from(sb: SerializedBytes) -> Result<AgentInfo, SerializedBytesError>
pub fn try_from(sb: SerializedBytes) -> Result<AgentInfo, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for HeaderHashes
impl TryFrom<SerializedBytes> for HeaderHashes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(
sb: SerializedBytes
) -> Result<HeaderHashes, SerializedBytesError>
pub fn try_from(
sb: SerializedBytes
) -> Result<HeaderHashes, 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.
sourcepub fn try_from(
sb: SerializedBytes
) -> Result<MigrateAgent, SerializedBytesError>
pub fn try_from(
sb: SerializedBytes
) -> Result<MigrateAgent, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
sb: SerializedBytes
) -> Result<DeleteHeader, SerializedBytesError>
pub fn try_from(
sb: SerializedBytes
) -> Result<DeleteHeader, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(sb: SerializedBytes) -> Result<ZomeInfo, SerializedBytesError>
pub fn try_from(sb: SerializedBytes) -> Result<ZomeInfo, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(sb: SerializedBytes) -> Result<Delete, SerializedBytesError>
pub fn try_from(sb: SerializedBytes) -> Result<Delete, 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.
sourcepub fn try_from(
sb: SerializedBytes
) -> Result<SignedHeader, SerializedBytesError>
pub fn try_from(
sb: SerializedBytes
) -> Result<SignedHeader, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(sb: SerializedBytes) -> Result<Create, SerializedBytesError>
pub fn try_from(sb: SerializedBytes) -> Result<Create, 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.
sourcepub fn try_from(
sb: SerializedBytes
) -> Result<ActivityRequest, SerializedBytesError>
pub fn try_from(
sb: SerializedBytes
) -> Result<ActivityRequest, 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.
sourcepub fn try_from(
sb: SerializedBytes
) -> Result<X25519XSalsa20Poly1305Encrypt, SerializedBytesError>
pub fn try_from(
sb: SerializedBytes
) -> Result<X25519XSalsa20Poly1305Encrypt, 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.
sourcepub fn try_from(sb: SerializedBytes) -> Result<Link, SerializedBytesError>
pub fn try_from(sb: SerializedBytes) -> Result<Link, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(sb: SerializedBytes) -> Result<DeleteLink, SerializedBytesError>
pub fn try_from(sb: SerializedBytes) -> Result<DeleteLink, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
sb: SerializedBytes
) -> Result<AppEntryType, SerializedBytesError>
pub fn try_from(
sb: SerializedBytes
) -> Result<AppEntryType, 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.
sourcepub fn try_from(
sb: SerializedBytes
) -> Result<LinkDetails, SerializedBytesError>
pub fn try_from(
sb: SerializedBytes
) -> Result<LinkDetails, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
sb: SerializedBytes
) -> Result<GenesisSelfCheckData, SerializedBytesError>
pub fn try_from(
sb: SerializedBytes
) -> Result<GenesisSelfCheckData, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(sb: SerializedBytes) -> Result<CreateLink, SerializedBytesError>
pub fn try_from(sb: SerializedBytes) -> Result<CreateLink, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
sb: SerializedBytes
) -> Result<XSalsa20Poly1305Nonce, SerializedBytesError>
pub fn try_from(
sb: SerializedBytes
) -> Result<XSalsa20Poly1305Nonce, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for ValidateLinkCallbackResult
impl TryFrom<SerializedBytes> for ValidateLinkCallbackResult
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(
sb: SerializedBytes
) -> Result<ValidateLinkCallbackResult, SerializedBytesError>
pub fn try_from(
sb: SerializedBytes
) -> Result<ValidateLinkCallbackResult, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for ValidateData
impl TryFrom<SerializedBytes> for ValidateData
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(
sb: SerializedBytes
) -> Result<ValidateData, SerializedBytesError>
pub fn try_from(
sb: SerializedBytes
) -> Result<ValidateData, 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.
sourcepub fn try_from(
sb: SerializedBytes
) -> Result<ValidationPackageCallbackResult, SerializedBytesError>
pub fn try_from(
sb: SerializedBytes
) -> Result<ValidationPackageCallbackResult, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(sb: SerializedBytes) -> Result<LinkTag, SerializedBytesError>
pub fn try_from(sb: SerializedBytes) -> Result<LinkTag, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
sb: SerializedBytes
) -> Result<ValidateCallbackResult, SerializedBytesError>
pub fn try_from(
sb: SerializedBytes
) -> Result<ValidateCallbackResult, 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.
sourcepub fn try_from(sb: SerializedBytes) -> Result<Sign, SerializedBytesError>
pub fn try_from(sb: SerializedBytes) -> Result<Sign, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for Timestamp
impl TryFrom<SerializedBytes> for Timestamp
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(sb: SerializedBytes) -> Result<Timestamp, SerializedBytesError>
pub fn try_from(sb: SerializedBytes) -> Result<Timestamp, 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.
sourcepub fn try_from(sb: SerializedBytes) -> Result<DnaDef, SerializedBytesError>
pub fn try_from(sb: SerializedBytes) -> Result<DnaDef, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(sb: SerializedBytes) -> Result<HeaderType, SerializedBytesError>
pub fn try_from(sb: SerializedBytes) -> Result<HeaderType, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(sb: SerializedBytes) -> Result<Update, SerializedBytesError>
pub fn try_from(sb: SerializedBytes) -> Result<Update, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(sb: SerializedBytes) -> Result<Element, SerializedBytesError>
pub fn try_from(sb: SerializedBytes) -> Result<Element, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
sb: SerializedBytes
) -> Result<X25519PubKey, SerializedBytesError>
pub fn try_from(
sb: SerializedBytes
) -> Result<X25519PubKey, 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.
sourcepub fn try_from(
sb: SerializedBytes
) -> Result<AgentActivity, SerializedBytesError>
pub fn try_from(
sb: SerializedBytes
) -> Result<AgentActivity, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
sb: SerializedBytes
) -> Result<EntryVisibility, SerializedBytesError>
pub fn try_from(
sb: SerializedBytes
) -> Result<EntryVisibility, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for Links
impl TryFrom<SerializedBytes> for Links
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(sb: SerializedBytes) -> Result<Links, SerializedBytesError>
pub fn try_from(sb: SerializedBytes) -> Result<Links, 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.
sourcepub fn try_from(sb: SerializedBytes) -> Result<WasmZome, SerializedBytesError>
pub fn try_from(sb: SerializedBytes) -> Result<WasmZome, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(sb: SerializedBytes) -> Result<EntryType, SerializedBytesError>
pub fn try_from(sb: SerializedBytes) -> Result<EntryType, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(sb: SerializedBytes) -> Result<Header, SerializedBytesError>
pub fn try_from(sb: SerializedBytes) -> Result<Header, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
sb: SerializedBytes
) -> Result<EntryDefsCallbackResult, SerializedBytesError>
pub fn try_from(
sb: SerializedBytes
) -> Result<EntryDefsCallbackResult, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
sb: SerializedBytes
) -> Result<X25519XSalsa20Poly1305Decrypt, SerializedBytesError>
pub fn try_from(
sb: SerializedBytes
) -> Result<X25519XSalsa20Poly1305Decrypt, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(sb: SerializedBytes) -> Result<Dna, SerializedBytesError>
pub fn try_from(sb: SerializedBytes) -> Result<Dna, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(sb: SerializedBytes) -> Result<CloseChain, SerializedBytesError>
pub fn try_from(sb: SerializedBytes) -> Result<CloseChain, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
sb: SerializedBytes
) -> Result<XSalsa20Poly1305KeyRef, SerializedBytesError>
pub fn try_from(
sb: SerializedBytes
) -> Result<XSalsa20Poly1305KeyRef, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(sb: SerializedBytes) -> Result<OpenChain, SerializedBytesError>
pub fn try_from(sb: SerializedBytes) -> Result<OpenChain, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(sb: SerializedBytes) -> Result<AppEntryBytes, EntryError>
pub fn try_from(sb: SerializedBytes) -> Result<AppEntryBytes, EntryError>
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.
sourcepub fn try_from(
sb: SerializedBytes
) -> Result<EntryDetails, SerializedBytesError>
pub fn try_from(
sb: SerializedBytes
) -> Result<EntryDetails, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for PostCommitCallbackResult
impl TryFrom<SerializedBytes> for PostCommitCallbackResult
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(
sb: SerializedBytes
) -> Result<PostCommitCallbackResult, SerializedBytesError>
pub fn try_from(
sb: SerializedBytes
) -> Result<PostCommitCallbackResult, 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.
sourcepub fn try_from(
sb: SerializedBytes
) -> Result<MigrateAgentCallbackResult, SerializedBytesError>
pub fn try_from(
sb: SerializedBytes
) -> Result<MigrateAgentCallbackResult, 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.
sourcepub fn try_from(
sb: SerializedBytes
) -> Result<XSalsa20Poly1305Encrypt, SerializedBytesError>
pub fn try_from(
sb: SerializedBytes
) -> Result<XSalsa20Poly1305Encrypt, 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.
sourcepub fn try_from(
sb: SerializedBytes
) -> Result<InitCallbackResult, SerializedBytesError>
pub fn try_from(
sb: SerializedBytes
) -> Result<InitCallbackResult, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for EntryWithDefId
impl TryFrom<SerializedBytes> for EntryWithDefId
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(
sb: SerializedBytes
) -> Result<EntryWithDefId, SerializedBytesError>
pub fn try_from(
sb: SerializedBytes
) -> Result<EntryWithDefId, 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.
pub fn try_from(sb: SerializedBytes) -> Result<WasmError, SerializedBytesError>
pub fn try_from(sb: SerializedBytes) -> Result<WasmError, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for AgentActivityResponse
impl TryFrom<SerializedBytes> for AgentActivityResponse
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
sb: SerializedBytes
) -> Result<AgentActivityResponse, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<AgentActivityResponse, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for AgentActivityResponse<HeaderHash>
impl TryFrom<SerializedBytes> for AgentActivityResponse<HeaderHash>
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
sb: SerializedBytes
) -> Result<AgentActivityResponse<HeaderHash>, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<AgentActivityResponse<HeaderHash>, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for ChainItems
impl TryFrom<SerializedBytes> for ChainItems
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<ChainItems, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<ChainItems, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for AppStatus
impl TryFrom<SerializedBytes> for AppStatus
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<AppStatus, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<AppStatus, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for StoppedAppReason
impl TryFrom<SerializedBytes> for StoppedAppReason
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
sb: SerializedBytes
) -> Result<StoppedAppReason, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<StoppedAppReason, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for XSalsa20Poly1305Decrypt
impl TryFrom<SerializedBytes> for XSalsa20Poly1305Decrypt
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(
sb: SerializedBytes
) -> Result<XSalsa20Poly1305Decrypt, SerializedBytesError>
pub fn try_from(
sb: SerializedBytes
) -> Result<XSalsa20Poly1305Decrypt, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for PausedAppReason
impl TryFrom<SerializedBytes> for PausedAppReason
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
sb: SerializedBytes
) -> Result<PausedAppReason, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<PausedAppReason, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for DisabledAppReason
impl TryFrom<SerializedBytes> for DisabledAppReason
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
sb: SerializedBytes
) -> Result<DisabledAppReason, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<DisabledAppReason, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for DhtOp
impl TryFrom<SerializedBytes> for DhtOp
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<DhtOp, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<DhtOp, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for WireOps
impl TryFrom<SerializedBytes> for WireOps
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<WireOps, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<WireOps, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for DnaBundle
impl TryFrom<SerializedBytes> for DnaBundle
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<DnaBundle, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<DnaBundle, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for DnaFile
impl TryFrom<SerializedBytes> for DnaFile
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<DnaFile, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<DnaFile, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for EntryDefBufferKey
impl TryFrom<SerializedBytes> for EntryDefBufferKey
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
sb: SerializedBytes
) -> Result<EntryDefBufferKey, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<EntryDefBufferKey, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for DnaWasm
impl TryFrom<SerializedBytes> for DnaWasm
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(serialized_bytes: SerializedBytes) -> Result<Self, Self::Error>
fn try_from(serialized_bytes: SerializedBytes) -> Result<Self, Self::Error>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for WireElementOps
impl TryFrom<SerializedBytes> for WireElementOps
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<WireElementOps, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<WireElementOps, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for WireElement
impl TryFrom<SerializedBytes> for WireElement
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<WireElement, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<WireElement, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for Details
impl TryFrom<SerializedBytes> for Details
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(sb: SerializedBytes) -> Result<Details, SerializedBytesError>
pub fn try_from(sb: SerializedBytes) -> Result<Details, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for GetElementResponse
impl TryFrom<SerializedBytes> for GetElementResponse
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
sb: SerializedBytes
) -> Result<GetElementResponse, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<GetElementResponse, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for RawGetEntryResponse
impl TryFrom<SerializedBytes> for RawGetEntryResponse
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
sb: SerializedBytes
) -> Result<RawGetEntryResponse, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<RawGetEntryResponse, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for WireEntryOps
impl TryFrom<SerializedBytes> for WireEntryOps
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<WireEntryOps, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<WireEntryOps, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for EntryData
impl TryFrom<SerializedBytes> for EntryData
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<EntryData, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<EntryData, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for NewEntryHeader
impl TryFrom<SerializedBytes> for NewEntryHeader
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<NewEntryHeader, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<NewEntryHeader, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for WireNewEntryHeader
impl TryFrom<SerializedBytes> for WireNewEntryHeader
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
sb: SerializedBytes
) -> Result<WireNewEntryHeader, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<WireNewEntryHeader, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for WireCreate
impl TryFrom<SerializedBytes> for WireCreate
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<WireCreate, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<WireCreate, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for WireUpdate
impl TryFrom<SerializedBytes> for WireUpdate
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<WireUpdate, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<WireUpdate, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for WireUpdateRelationship
impl TryFrom<SerializedBytes> for WireUpdateRelationship
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
sb: SerializedBytes
) -> Result<WireUpdateRelationship, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<WireUpdateRelationship, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for WireDelete
impl TryFrom<SerializedBytes> for WireDelete
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<WireDelete, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<WireDelete, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<Sign> for SerializedBytes
impl TryFrom<Sign> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(t: Sign) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: Sign) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<Signal> for SerializedBytes
impl TryFrom<Signal> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: Signal) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: Signal) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SignedHeader> for SerializedBytes
impl TryFrom<SignedHeader> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(
t: SignedHeader
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: SignedHeader
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<StoppedAppReason> for SerializedBytes
impl TryFrom<StoppedAppReason> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: StoppedAppReason
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: StoppedAppReason
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<StringWrap> for SerializedBytes
impl TryFrom<StringWrap> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(t: StringWrap) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: StringWrap) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SystemSignal> for SerializedBytes
impl TryFrom<SystemSignal> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: SystemSignal) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: SystemSignal) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<Timestamp> for SerializedBytes
impl TryFrom<Timestamp> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(t: Timestamp) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: Timestamp) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<U32Wrap> for SerializedBytes
impl TryFrom<U32Wrap> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(t: U32Wrap) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: U32Wrap) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(t: Update) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: Update) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
t: UpdateHeader
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: UpdateHeader
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
t: ValidateCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: ValidateCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<ValidateCreateLinkData> for SerializedBytes
impl TryFrom<ValidateCreateLinkData> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(
t: ValidateCreateLinkData
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: ValidateCreateLinkData
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<ValidateData> for SerializedBytes
impl TryFrom<ValidateData> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(
t: ValidateData
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: ValidateData
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<ValidateDeleteLinkData> for SerializedBytes
impl TryFrom<ValidateDeleteLinkData> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(
t: ValidateDeleteLinkData
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: ValidateDeleteLinkData
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<ValidateLinkCallbackResult> for SerializedBytes
impl TryFrom<ValidateLinkCallbackResult> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(
t: ValidateLinkCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: ValidateLinkCallbackResult
) -> 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.
sourcepub fn try_from(
t: ValidationPackage
) -> Result<SerializedBytes, SerializedBytesError>
pub 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.
sourcepub fn try_from(
t: ValidationPackageCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: ValidationPackageCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<ValidationPackageResponse> for SerializedBytes
impl TryFrom<ValidationPackageResponse> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: ValidationPackageResponse
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: ValidationPackageResponse
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
t: VerifySignature
) -> Result<SerializedBytes, SerializedBytesError>
pub 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.
sourcepub fn try_from(t: Warrant) -> Result<SerializedBytes, SerializedBytesError>
pub 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.
pub fn try_from(t: WasmError) -> Result<SerializedBytes, SerializedBytesError>
pub 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.
sourcepub fn try_from(t: WasmZome) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: WasmZome) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<WireContext> for SerializedBytes
impl TryFrom<WireContext> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(t: WireContext) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: WireContext) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<WireCreate> for SerializedBytes
impl TryFrom<WireCreate> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: WireCreate) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: WireCreate) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<WireCreateLink> for SerializedBytes
impl TryFrom<WireCreateLink> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: WireCreateLink) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: WireCreateLink) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<WireDelete> for SerializedBytes
impl TryFrom<WireDelete> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: WireDelete) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: WireDelete) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<WireDeleteLink> for SerializedBytes
impl TryFrom<WireDeleteLink> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: WireDeleteLink) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: WireDeleteLink) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<WireElement> for SerializedBytes
impl TryFrom<WireElement> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: WireElement) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: WireElement) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<WireElementOps> for SerializedBytes
impl TryFrom<WireElementOps> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: WireElementOps) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: WireElementOps) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<WireEntryOps> for SerializedBytes
impl TryFrom<WireEntryOps> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: WireEntryOps) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: WireEntryOps) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<WireLink> for SerializedBytes
impl TryFrom<WireLink> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(t: WireLink) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: WireLink) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<WireLinkKey> for SerializedBytes
impl TryFrom<WireLinkKey> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: WireLinkKey) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: WireLinkKey) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<WireLinkMetaKey> for SerializedBytes
impl TryFrom<WireLinkMetaKey> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: WireLinkMetaKey) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: WireLinkMetaKey) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<WireLinkOps> for SerializedBytes
impl TryFrom<WireLinkOps> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: WireLinkOps) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: WireLinkOps) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<WireLinks> for SerializedBytes
impl TryFrom<WireLinks> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(t: WireLinks) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: WireLinks) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<WireNewEntryHeader> for SerializedBytes
impl TryFrom<WireNewEntryHeader> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: WireNewEntryHeader
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: WireNewEntryHeader
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<WireOps> for SerializedBytes
impl TryFrom<WireOps> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: WireOps) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: WireOps) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<WireSpanContext> for SerializedBytes
impl TryFrom<WireSpanContext> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(
t: WireSpanContext
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: WireSpanContext
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<WireUpdate> for SerializedBytes
impl TryFrom<WireUpdate> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: WireUpdate) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: WireUpdate) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<WireUpdateRelationship> for SerializedBytes
impl TryFrom<WireUpdateRelationship> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(
t: WireUpdateRelationship
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: WireUpdateRelationship
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
t: X25519PubKey
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: X25519PubKey
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
t: X25519XSalsa20Poly1305Decrypt
) -> Result<SerializedBytes, SerializedBytesError>
pub 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.
sourcepub fn try_from(
t: X25519XSalsa20Poly1305Encrypt
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: X25519XSalsa20Poly1305Encrypt
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
t: XSalsa20Poly1305Decrypt
) -> Result<SerializedBytes, SerializedBytesError>
pub 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.
sourcepub fn try_from(
t: XSalsa20Poly1305Encrypt
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: XSalsa20Poly1305Encrypt
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
t: XSalsa20Poly1305KeyRef
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: XSalsa20Poly1305KeyRef
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(
t: XSalsa20Poly1305Nonce
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: XSalsa20Poly1305Nonce
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<YamlProperties> for SerializedBytes
impl TryFrom<YamlProperties> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: YamlProperties) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: YamlProperties) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<ZomeCallResponse> for SerializedBytes
impl TryFrom<ZomeCallResponse> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcepub fn try_from(
t: ZomeCallResponse
) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(
t: ZomeCallResponse
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(t: ZomeId) -> Result<SerializedBytes, SerializedBytesError>
pub fn try_from(t: ZomeId) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl 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.
sourcepub fn try_from(t: ZomeInfo) -> Result<SerializedBytes, SerializedBytesError>
pub 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
impl<T> Any for T where
T: Any + ?Sized,
impl<T> Any for T where
T: Any + ?Sized,
fn type_id_compat(&self) -> TypeId
fn type_id_compat(&self) -> TypeId
TODO: once 1.33.0 is the minimum supported compiler version, remove Any::type_id_compat and use StdAny::type_id instead. https://github.com/rust-lang/rust/issues/27745 Read more
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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,
sourcepub fn equivalent(&self, key: &K) -> bool
pub fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
impl<T> FutureExt for T
impl<T> FutureExt for T
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<T> Pointable for T
impl<T> Pointable for T
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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more