Struct hdk::prelude::query::SerializedBytes [−]
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
impl SerializedBytes
Trait Implementations
impl AsRef<SerializedBytes> for AppEntryBytes
[src]
pub fn as_ref(&self) -> &SerializedBytes
[src]
impl Borrow<SerializedBytes> for AppEntryBytes
[src]
pub fn borrow(&self) -> &SerializedBytes
[src]
impl Clone for SerializedBytes
pub fn clone(&self) -> SerializedBytes
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SerializedBytes
A bit of magic to convert the internal messagepack bytes into roughly equivalent JSON output for the purposes of debugging. 90% of the time you probably want this if you are a dev, to see something that “looks like” a data structure when you do {:?} in a formatted string, rather than a vector of bytes in the remaining 10% of situations where you want to debug the real messagepack bytes, call the .bytes() method on SerializedBytes and debug that.
impl Default for SerializedBytes
pub fn default() -> SerializedBytes
impl<'de> Deserialize<'de> for SerializedBytes
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<SerializedBytes, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
__deserializer: __D
) -> Result<SerializedBytes, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl Eq for SerializedBytes
impl From<AppEntryBytes> for SerializedBytes
[src]
pub fn from(aeb: AppEntryBytes) -> SerializedBytes
[src]
impl From<SerializedBytes> for UnsafeBytes
pub fn from(sb: SerializedBytes) -> UnsafeBytes
impl From<UnsafeBytes> for SerializedBytes
pub fn from(b: UnsafeBytes) -> SerializedBytes
impl Hash for SerializedBytes
pub fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
__H: Hasher,
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for SerializedBytes
pub fn cmp(&self, other: &SerializedBytes) -> Ordering
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<SerializedBytes> for SerializedBytes
pub fn eq(&self, other: &SerializedBytes) -> bool
pub fn ne(&self, other: &SerializedBytes) -> bool
impl PartialOrd<SerializedBytes> for SerializedBytes
pub fn partial_cmp(&self, other: &SerializedBytes) -> Option<Ordering>
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl Serialize for SerializedBytes
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
impl StructuralEq for SerializedBytes
impl StructuralPartialEq for SerializedBytes
impl<'_> TryFrom<&'_ ()> for SerializedBytes
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: &()) -> Result<SerializedBytes, SerializedBytesError>
impl<'_> TryFrom<&'_ ActivityRequest> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: &ActivityRequest
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: &ActivityRequest
) -> Result<SerializedBytes, SerializedBytesError>
impl<'_> TryFrom<&'_ AgentActivity> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: &AgentActivity
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: &AgentActivity
) -> Result<SerializedBytes, SerializedBytesError>
impl<'_> TryFrom<&'_ AgentInfo> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: &AgentInfo) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl<'_> TryFrom<&'_ AgentValidationPkg> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: &AgentValidationPkg
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: &AgentValidationPkg
) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<&'_ Anchor> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: &Anchor) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl<'_> TryFrom<&'_ AppEntryType> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: &AppEntryType
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: &AppEntryType
) -> Result<SerializedBytes, SerializedBytesError>
impl<'_> TryFrom<&'_ BoolWrap> for SerializedBytes
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: &BoolWrap) -> Result<SerializedBytes, SerializedBytesError>
impl<'_> TryFrom<&'_ CapClaim> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: &CapClaim) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl<'_> TryFrom<&'_ CapSecret> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: &CapSecret) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl<'_> TryFrom<&'_ CellId> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: &CellId) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl<'_> TryFrom<&'_ ChainQueryFilter> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: &ChainQueryFilter
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: &ChainQueryFilter
) -> Result<SerializedBytes, SerializedBytesError>
impl<'_> TryFrom<&'_ CloseChain> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: &CloseChain) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl<'_> TryFrom<&'_ Create> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: &Create) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl<'_> TryFrom<&'_ CreateLink> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: &CreateLink) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl<'_> TryFrom<&'_ Delete> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: &Delete) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl<'_> TryFrom<&'_ DeleteHeader> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: &DeleteHeader
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: &DeleteHeader
) -> Result<SerializedBytes, SerializedBytesError>
impl<'_> TryFrom<&'_ DeleteLink> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: &DeleteLink) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl<'_> TryFrom<&'_ Details> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: &Details) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl<'_> TryFrom<&'_ Dna> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: &Dna) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl<'_> TryFrom<&'_ Element> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: &Element) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl<'_> TryFrom<&'_ ElementDetails> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: &ElementDetails
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: &ElementDetails
) -> Result<SerializedBytes, SerializedBytesError>
impl<'_> TryFrom<&'_ ElementEntry> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: &ElementEntry
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: &ElementEntry
) -> Result<SerializedBytes, SerializedBytesError>
impl<'_> TryFrom<&'_ Entry> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: &Entry) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl<'_> TryFrom<&'_ EntryDefIndex> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: &EntryDefIndex
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: &EntryDefIndex
) -> Result<SerializedBytes, SerializedBytesError>
impl<'_> TryFrom<&'_ EntryDefsCallbackResult> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: &EntryDefsCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: &EntryDefsCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
impl<'_> TryFrom<&'_ EntryDetails> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: &EntryDetails
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: &EntryDetails
) -> Result<SerializedBytes, SerializedBytesError>
impl<'_> TryFrom<&'_ EntryHashes> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: &EntryHashes
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: &EntryHashes
) -> Result<SerializedBytes, SerializedBytesError>
impl<'_> TryFrom<&'_ EntryType> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: &EntryType) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl<'_> TryFrom<&'_ EntryVisibility> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: &EntryVisibility
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: &EntryVisibility
) -> Result<SerializedBytes, SerializedBytesError>
impl<'_> TryFrom<&'_ EntryWithDefId> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: &EntryWithDefId
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: &EntryWithDefId
) -> Result<SerializedBytes, SerializedBytesError>
impl<'_> TryFrom<&'_ Header> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: &Header) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl<'_> TryFrom<&'_ HeaderHashedVec> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: &HeaderHashedVec
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: &HeaderHashedVec
) -> Result<SerializedBytes, SerializedBytesError>
impl<'_> TryFrom<&'_ HeaderHashes> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: &HeaderHashes
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: &HeaderHashes
) -> Result<SerializedBytes, SerializedBytesError>
impl<'_> TryFrom<&'_ HeaderType> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: &HeaderType) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl<'_, T> TryFrom<&'_ HoloHash<T>> for SerializedBytes where
T: HashType,
[src]
T: HashType,
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: &HoloHash<T>
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: &HoloHash<T>
) -> Result<SerializedBytes, SerializedBytesError>
impl<'_> TryFrom<&'_ InitCallbackResult> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: &InitCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: &InitCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
impl<'_> TryFrom<&'_ InitZomesComplete> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: &InitZomesComplete
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: &InitZomesComplete
) -> Result<SerializedBytes, SerializedBytesError>
impl<'_> TryFrom<&'_ Link> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: &Link) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl<'_> TryFrom<&'_ LinkDetails> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: &LinkDetails
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: &LinkDetails
) -> Result<SerializedBytes, SerializedBytesError>
impl<'_> TryFrom<&'_ LinkTag> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: &LinkTag) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl<'_> TryFrom<&'_ Links> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: &Links) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl<'_> TryFrom<&'_ MigrateAgent> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: &MigrateAgent
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: &MigrateAgent
) -> Result<SerializedBytes, SerializedBytesError>
impl<'_> TryFrom<&'_ MigrateAgentCallbackResult> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: &MigrateAgentCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: &MigrateAgentCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
impl<'_> TryFrom<&'_ OpenChain> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: &OpenChain) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<&'_ Path> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: &Path) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl<'_> TryFrom<&'_ PostCommitCallbackResult> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: &PostCommitCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: &PostCommitCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
impl<'_> TryFrom<&'_ RemoteSignal> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: &RemoteSignal
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: &RemoteSignal
) -> Result<SerializedBytes, SerializedBytesError>
impl<'_> TryFrom<&'_ Sign> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: &Sign) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl<'_> TryFrom<&'_ Signature> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: &Signature) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl<'_> TryFrom<&'_ SignedHeader> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: &SignedHeader
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: &SignedHeader
) -> Result<SerializedBytes, SerializedBytesError>
impl<'_> TryFrom<&'_ StringWrap> for SerializedBytes
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: &StringWrap) -> Result<SerializedBytes, SerializedBytesError>
impl<'_> TryFrom<&'_ Timestamp> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: &Timestamp) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl<'_> TryFrom<&'_ U32Wrap> for SerializedBytes
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: &U32Wrap) -> Result<SerializedBytes, SerializedBytesError>
impl<'_> TryFrom<&'_ Update> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: &Update) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl<'_> TryFrom<&'_ UpdateHeader> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: &UpdateHeader
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: &UpdateHeader
) -> Result<SerializedBytes, SerializedBytesError>
impl<'_> TryFrom<&'_ ValidateCallbackResult> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: &ValidateCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: &ValidateCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
impl<'_> TryFrom<&'_ ValidateCreateLinkData> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: &ValidateCreateLinkData
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: &ValidateCreateLinkData
) -> Result<SerializedBytes, SerializedBytesError>
impl<'_> TryFrom<&'_ ValidateData> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: &ValidateData
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: &ValidateData
) -> Result<SerializedBytes, SerializedBytesError>
impl<'_> TryFrom<&'_ ValidateDeleteLinkData> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: &ValidateDeleteLinkData
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: &ValidateDeleteLinkData
) -> Result<SerializedBytes, SerializedBytesError>
impl<'_> TryFrom<&'_ ValidateLinkCallbackResult> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: &ValidateLinkCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: &ValidateLinkCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
impl<'_> TryFrom<&'_ ValidationPackage> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: &ValidationPackage
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: &ValidationPackage
) -> Result<SerializedBytes, SerializedBytesError>
impl<'_> TryFrom<&'_ ValidationPackageCallbackResult> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: &ValidationPackageCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: &ValidationPackageCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
impl<'_> TryFrom<&'_ VerifySignature> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: &VerifySignature
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: &VerifySignature
) -> Result<SerializedBytes, SerializedBytesError>
impl<'_> TryFrom<&'_ Warrant> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: &Warrant) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl<'_> TryFrom<&'_ WasmError> for SerializedBytes
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: &WasmError) -> Result<SerializedBytes, SerializedBytesError>
impl<'_> TryFrom<&'_ X25519PubKey> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: &X25519PubKey
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: &X25519PubKey
) -> Result<SerializedBytes, SerializedBytesError>
impl<'_> TryFrom<&'_ X25519XSalsa20Poly1305Decrypt> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: &X25519XSalsa20Poly1305Decrypt
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: &X25519XSalsa20Poly1305Decrypt
) -> Result<SerializedBytes, SerializedBytesError>
impl<'_> TryFrom<&'_ X25519XSalsa20Poly1305Encrypt> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: &X25519XSalsa20Poly1305Encrypt
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: &X25519XSalsa20Poly1305Encrypt
) -> Result<SerializedBytes, SerializedBytesError>
impl<'_> TryFrom<&'_ XSalsa20Poly1305Decrypt> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: &XSalsa20Poly1305Decrypt
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: &XSalsa20Poly1305Decrypt
) -> Result<SerializedBytes, SerializedBytesError>
impl<'_> TryFrom<&'_ XSalsa20Poly1305Encrypt> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: &XSalsa20Poly1305Encrypt
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: &XSalsa20Poly1305Encrypt
) -> Result<SerializedBytes, SerializedBytesError>
impl<'_> TryFrom<&'_ XSalsa20Poly1305KeyRef> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: &XSalsa20Poly1305KeyRef
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: &XSalsa20Poly1305KeyRef
) -> Result<SerializedBytes, SerializedBytesError>
impl<'_> TryFrom<&'_ XSalsa20Poly1305Nonce> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: &XSalsa20Poly1305Nonce
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: &XSalsa20Poly1305Nonce
) -> Result<SerializedBytes, SerializedBytesError>
impl<'_> TryFrom<&'_ ZomeCallResponse> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: &ZomeCallResponse
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: &ZomeCallResponse
) -> Result<SerializedBytes, SerializedBytesError>
impl<'_> TryFrom<&'_ ZomeId> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: &ZomeId) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl<'_> TryFrom<&'_ ZomeInfo> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: &ZomeInfo) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl<'a> TryFrom<&'a SerializedBytes> for SerializedBytes
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
s: &'a SerializedBytes
) -> Result<SerializedBytes, <SerializedBytes as TryFrom<&'a SerializedBytes>>::Error>
s: &'a SerializedBytes
) -> Result<SerializedBytes, <SerializedBytes as TryFrom<&'a SerializedBytes>>::Error>
impl TryFrom<()> for SerializedBytes
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: ()) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<ActivityRequest> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: ActivityRequest
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: ActivityRequest
) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<AgentActivity> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: AgentActivity
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: AgentActivity
) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<AgentInfo> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: AgentInfo) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<AgentValidationPkg> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: AgentValidationPkg
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: AgentValidationPkg
) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<Anchor> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: Anchor) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<AppEntryType> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: AppEntryType
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: AppEntryType
) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<BoolWrap> for SerializedBytes
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: BoolWrap) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<CapClaim> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: CapClaim) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<CapSecret> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: CapSecret) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<CellId> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: CellId) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<ChainQueryFilter> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: ChainQueryFilter
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: ChainQueryFilter
) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<CloseChain> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: CloseChain) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<Create> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: Create) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<CreateLink> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: CreateLink) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<Delete> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: Delete) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<DeleteHeader> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: DeleteHeader
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: DeleteHeader
) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<DeleteLink> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: DeleteLink) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<Details> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: Details) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<Dna> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: Dna) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<Element> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: Element) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<ElementDetails> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: ElementDetails
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: ElementDetails
) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<ElementEntry> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: ElementEntry
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: ElementEntry
) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<Entry> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: Entry) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<EntryDefIndex> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: EntryDefIndex
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: EntryDefIndex
) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<EntryDefsCallbackResult> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: EntryDefsCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: EntryDefsCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<EntryDetails> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: EntryDetails
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: EntryDetails
) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<EntryHashes> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: EntryHashes) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<EntryType> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: EntryType) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<EntryVisibility> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: EntryVisibility
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: EntryVisibility
) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<EntryWithDefId> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: EntryWithDefId
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: EntryWithDefId
) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<Header> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: Header) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<HeaderHashedVec> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: HeaderHashedVec
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: HeaderHashedVec
) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<HeaderHashes> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: HeaderHashes
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: HeaderHashes
) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<HeaderType> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: HeaderType) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl<T> TryFrom<HoloHash<T>> for SerializedBytes where
T: HashType,
[src]
T: HashType,
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: HoloHash<T>) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<InitCallbackResult> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: InitCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: InitCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<InitZomesComplete> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: InitZomesComplete
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: InitZomesComplete
) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<Link> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: Link) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<LinkDetails> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: LinkDetails) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<LinkTag> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: LinkTag) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<Links> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: Links) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<MigrateAgent> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: MigrateAgent
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: MigrateAgent
) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<MigrateAgentCallbackResult> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: MigrateAgentCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: MigrateAgentCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<OpenChain> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: OpenChain) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<Path> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: Path) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<PostCommitCallbackResult> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: PostCommitCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: PostCommitCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<RemoteSignal> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: RemoteSignal
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: RemoteSignal
) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<SerializedBytes> for ()
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(sb: SerializedBytes) -> Result<(), SerializedBytesError>
impl TryFrom<SerializedBytes> for WasmError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(sb: SerializedBytes) -> Result<WasmError, SerializedBytesError>
impl TryFrom<SerializedBytes> for Entry
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(sb: SerializedBytes) -> Result<Entry, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for XSalsa20Poly1305Decrypt
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
sb: SerializedBytes
) -> Result<XSalsa20Poly1305Decrypt, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<XSalsa20Poly1305Decrypt, SerializedBytesError>
impl TryFrom<SerializedBytes> for ZomeInfo
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(sb: SerializedBytes) -> Result<ZomeInfo, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for Dna
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(sb: SerializedBytes) -> Result<Dna, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for Create
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(sb: SerializedBytes) -> Result<Create, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for EntryVisibility
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
sb: SerializedBytes
) -> Result<EntryVisibility, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<EntryVisibility, SerializedBytesError>
impl TryFrom<SerializedBytes> for ValidateData
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
sb: SerializedBytes
) -> Result<ValidateData, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<ValidateData, SerializedBytesError>
impl TryFrom<SerializedBytes> for CapSecret
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(sb: SerializedBytes) -> Result<CapSecret, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for Delete
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(sb: SerializedBytes) -> Result<Delete, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for X25519XSalsa20Poly1305Encrypt
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
sb: SerializedBytes
) -> Result<X25519XSalsa20Poly1305Encrypt, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<X25519XSalsa20Poly1305Encrypt, SerializedBytesError>
impl TryFrom<SerializedBytes> for XSalsa20Poly1305Nonce
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
sb: SerializedBytes
) -> Result<XSalsa20Poly1305Nonce, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<XSalsa20Poly1305Nonce, SerializedBytesError>
impl TryFrom<SerializedBytes> for CreateLink
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(sb: SerializedBytes) -> Result<CreateLink, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for HeaderHashes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
sb: SerializedBytes
) -> Result<HeaderHashes, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<HeaderHashes, SerializedBytesError>
impl TryFrom<SerializedBytes> for EntryDefsCallbackResult
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
sb: SerializedBytes
) -> Result<EntryDefsCallbackResult, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<EntryDefsCallbackResult, SerializedBytesError>
impl TryFrom<SerializedBytes> for X25519PubKey
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
sb: SerializedBytes
) -> Result<X25519PubKey, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<X25519PubKey, SerializedBytesError>
impl TryFrom<SerializedBytes> for ValidateCreateLinkData
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
sb: SerializedBytes
) -> Result<ValidateCreateLinkData, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<ValidateCreateLinkData, SerializedBytesError>
impl TryFrom<SerializedBytes> for Link
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(sb: SerializedBytes) -> Result<Link, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for AppEntryBytes
[src]
type Error = EntryError
The type returned in the event of a conversion error.
pub fn try_from(sb: SerializedBytes) -> Result<AppEntryBytes, EntryError>
[src]
impl TryFrom<SerializedBytes> for ValidationPackage
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
sb: SerializedBytes
) -> Result<ValidationPackage, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<ValidationPackage, SerializedBytesError>
impl TryFrom<SerializedBytes> for VerifySignature
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
sb: SerializedBytes
) -> Result<VerifySignature, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<VerifySignature, SerializedBytesError>
impl TryFrom<SerializedBytes> for EntryWithDefId
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
sb: SerializedBytes
) -> Result<EntryWithDefId, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<EntryWithDefId, SerializedBytesError>
impl TryFrom<SerializedBytes> for ValidateDeleteLinkData
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
sb: SerializedBytes
) -> Result<ValidateDeleteLinkData, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<ValidateDeleteLinkData, SerializedBytesError>
impl TryFrom<SerializedBytes> for RemoteSignal
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
sb: SerializedBytes
) -> Result<RemoteSignal, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<RemoteSignal, SerializedBytesError>
impl TryFrom<SerializedBytes> for AgentInfo
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(sb: SerializedBytes) -> Result<AgentInfo, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for ElementDetails
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
sb: SerializedBytes
) -> Result<ElementDetails, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<ElementDetails, SerializedBytesError>
impl TryFrom<SerializedBytes> for CloseChain
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(sb: SerializedBytes) -> Result<CloseChain, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for ActivityRequest
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
sb: SerializedBytes
) -> Result<ActivityRequest, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<ActivityRequest, SerializedBytesError>
impl TryFrom<SerializedBytes> for ZomeId
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(sb: SerializedBytes) -> Result<ZomeId, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for UpdateHeader
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
sb: SerializedBytes
) -> Result<UpdateHeader, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<UpdateHeader, SerializedBytesError>
impl TryFrom<SerializedBytes> for PostCommitCallbackResult
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
sb: SerializedBytes
) -> Result<PostCommitCallbackResult, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<PostCommitCallbackResult, SerializedBytesError>
impl TryFrom<SerializedBytes> for ChainQueryFilter
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
sb: SerializedBytes
) -> Result<ChainQueryFilter, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<ChainQueryFilter, SerializedBytesError>
impl TryFrom<SerializedBytes> for XSalsa20Poly1305Encrypt
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
sb: SerializedBytes
) -> Result<XSalsa20Poly1305Encrypt, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<XSalsa20Poly1305Encrypt, SerializedBytesError>
impl TryFrom<SerializedBytes> for CellId
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(sb: SerializedBytes) -> Result<CellId, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for Signature
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(sb: SerializedBytes) -> Result<Signature, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for HeaderType
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(sb: SerializedBytes) -> Result<HeaderType, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for AgentActivity
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
sb: SerializedBytes
) -> Result<AgentActivity, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<AgentActivity, SerializedBytesError>
impl TryFrom<SerializedBytes> for Sign
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(sb: SerializedBytes) -> Result<Sign, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for CapClaim
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(sb: SerializedBytes) -> Result<CapClaim, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for Links
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(sb: SerializedBytes) -> Result<Links, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for Timestamp
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(sb: SerializedBytes) -> Result<Timestamp, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for LinkTag
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(sb: SerializedBytes) -> Result<LinkTag, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for DeleteHeader
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
sb: SerializedBytes
) -> Result<DeleteHeader, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<DeleteHeader, SerializedBytesError>
impl TryFrom<SerializedBytes> for OpenChain
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(sb: SerializedBytes) -> Result<OpenChain, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for ValidationPackageCallbackResult
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
sb: SerializedBytes
) -> Result<ValidationPackageCallbackResult, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<ValidationPackageCallbackResult, SerializedBytesError>
impl TryFrom<SerializedBytes> for MigrateAgent
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
sb: SerializedBytes
) -> Result<MigrateAgent, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<MigrateAgent, SerializedBytesError>
impl TryFrom<SerializedBytes> for AgentValidationPkg
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
sb: SerializedBytes
) -> Result<AgentValidationPkg, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<AgentValidationPkg, SerializedBytesError>
impl TryFrom<SerializedBytes> for LinkDetails
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
sb: SerializedBytes
) -> Result<LinkDetails, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<LinkDetails, SerializedBytesError>
impl TryFrom<SerializedBytes> for SignedHeader
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
sb: SerializedBytes
) -> Result<SignedHeader, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<SignedHeader, SerializedBytesError>
impl TryFrom<SerializedBytes> for InitCallbackResult
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
sb: SerializedBytes
) -> Result<InitCallbackResult, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<InitCallbackResult, SerializedBytesError>
impl TryFrom<SerializedBytes> for Element
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(sb: SerializedBytes) -> Result<Element, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for XSalsa20Poly1305KeyRef
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
sb: SerializedBytes
) -> Result<XSalsa20Poly1305KeyRef, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<XSalsa20Poly1305KeyRef, SerializedBytesError>
impl TryFrom<SerializedBytes> for EntryType
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(sb: SerializedBytes) -> Result<EntryType, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for ValidateCallbackResult
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
sb: SerializedBytes
) -> Result<ValidateCallbackResult, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<ValidateCallbackResult, SerializedBytesError>
impl TryFrom<SerializedBytes> for Header
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(sb: SerializedBytes) -> Result<Header, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for ValidateLinkCallbackResult
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
sb: SerializedBytes
) -> Result<ValidateLinkCallbackResult, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<ValidateLinkCallbackResult, SerializedBytesError>
impl TryFrom<SerializedBytes> for Details
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(sb: SerializedBytes) -> Result<Details, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for Update
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(sb: SerializedBytes) -> Result<Update, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for X25519XSalsa20Poly1305Decrypt
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
sb: SerializedBytes
) -> Result<X25519XSalsa20Poly1305Decrypt, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<X25519XSalsa20Poly1305Decrypt, SerializedBytesError>
impl TryFrom<SerializedBytes> for EntryDefIndex
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
sb: SerializedBytes
) -> Result<EntryDefIndex, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<EntryDefIndex, SerializedBytesError>
impl TryFrom<SerializedBytes> for ElementEntry
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
sb: SerializedBytes
) -> Result<ElementEntry, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<ElementEntry, SerializedBytesError>
impl TryFrom<SerializedBytes> for DeleteLink
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(sb: SerializedBytes) -> Result<DeleteLink, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for InitZomesComplete
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
sb: SerializedBytes
) -> Result<InitZomesComplete, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<InitZomesComplete, SerializedBytesError>
impl TryFrom<SerializedBytes> for MigrateAgentCallbackResult
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
sb: SerializedBytes
) -> Result<MigrateAgentCallbackResult, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<MigrateAgentCallbackResult, SerializedBytesError>
impl TryFrom<SerializedBytes> for HeaderHashedVec
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
sb: SerializedBytes
) -> Result<HeaderHashedVec, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<HeaderHashedVec, SerializedBytesError>
impl TryFrom<SerializedBytes> for AppEntryType
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
sb: SerializedBytes
) -> Result<AppEntryType, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<AppEntryType, SerializedBytesError>
impl TryFrom<SerializedBytes> for Warrant
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(sb: SerializedBytes) -> Result<Warrant, SerializedBytesError>
[src]
impl<T> TryFrom<SerializedBytes> for HoloHash<T> where
T: HashType,
[src]
T: HashType,
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
sb: SerializedBytes
) -> Result<HoloHash<T>, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<HoloHash<T>, SerializedBytesError>
impl TryFrom<SerializedBytes> for EntryHashes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
sb: SerializedBytes
) -> Result<EntryHashes, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<EntryHashes, SerializedBytesError>
impl TryFrom<SerializedBytes> for Anchor
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<Anchor, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for Path
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<Path, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for ZomeCallResponse
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
sb: SerializedBytes
) -> Result<ZomeCallResponse, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<ZomeCallResponse, SerializedBytesError>
impl TryFrom<SerializedBytes> for EntryDetails
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
sb: SerializedBytes
) -> Result<EntryDetails, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<EntryDetails, SerializedBytesError>
impl TryFrom<Sign> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: Sign) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<Signature> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: Signature) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<SignedHeader> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: SignedHeader
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: SignedHeader
) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<StringWrap> for SerializedBytes
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: StringWrap) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<Timestamp> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: Timestamp) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<U32Wrap> for SerializedBytes
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: U32Wrap) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<Update> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: Update) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<UpdateHeader> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: UpdateHeader
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: UpdateHeader
) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<ValidateCallbackResult> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: ValidateCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: ValidateCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<ValidateCreateLinkData> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: ValidateCreateLinkData
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: ValidateCreateLinkData
) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<ValidateData> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: ValidateData
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: ValidateData
) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<ValidateDeleteLinkData> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: ValidateDeleteLinkData
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: ValidateDeleteLinkData
) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<ValidateLinkCallbackResult> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: ValidateLinkCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: ValidateLinkCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<ValidationPackage> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: ValidationPackage
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: ValidationPackage
) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<ValidationPackageCallbackResult> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: ValidationPackageCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: ValidationPackageCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<VerifySignature> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: VerifySignature
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: VerifySignature
) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<Warrant> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: Warrant) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<WasmError> for SerializedBytes
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: WasmError) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<X25519PubKey> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: X25519PubKey
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: X25519PubKey
) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<X25519XSalsa20Poly1305Decrypt> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: X25519XSalsa20Poly1305Decrypt
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: X25519XSalsa20Poly1305Decrypt
) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<X25519XSalsa20Poly1305Encrypt> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: X25519XSalsa20Poly1305Encrypt
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: X25519XSalsa20Poly1305Encrypt
) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<XSalsa20Poly1305Decrypt> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: XSalsa20Poly1305Decrypt
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: XSalsa20Poly1305Decrypt
) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<XSalsa20Poly1305Encrypt> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: XSalsa20Poly1305Encrypt
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: XSalsa20Poly1305Encrypt
) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<XSalsa20Poly1305KeyRef> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: XSalsa20Poly1305KeyRef
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: XSalsa20Poly1305KeyRef
) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<XSalsa20Poly1305Nonce> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: XSalsa20Poly1305Nonce
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: XSalsa20Poly1305Nonce
) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<ZomeCallResponse> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(
t: ZomeCallResponse
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: ZomeCallResponse
) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<ZomeId> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: ZomeId) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<ZomeInfo> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: ZomeInfo) -> Result<SerializedBytes, SerializedBytesError>
[src]
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: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
[src]
Notable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
pub fn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
[src]
Notable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,