Struct holochain_zome_types::warrant::SerializedBytes [−][src]
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
[src]
Trait Implementations
impl AsRef<SerializedBytes> for AppEntryBytes
[src]
fn as_ref(&self) -> &SerializedBytes
[src]
impl Borrow<SerializedBytes> for AppEntryBytes
[src]
fn borrow(&self) -> &SerializedBytes
[src]
impl Clone for SerializedBytes
[src]
pub fn clone(&self) -> SerializedBytes
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SerializedBytes
[src]
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
[src]
pub fn default() -> SerializedBytes
[src]
impl<'de> Deserialize<'de> for SerializedBytes
[src]
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<SerializedBytes, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<SerializedBytes, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl Eq for SerializedBytes
[src]
impl From<AppEntryBytes> for SerializedBytes
[src]
fn from(aeb: AppEntryBytes) -> Self
[src]
impl From<SerializedBytes> for UnsafeBytes
[src]
pub fn from(sb: SerializedBytes) -> UnsafeBytes
[src]
impl From<UnsafeBytes> for SerializedBytes
[src]
pub fn from(b: UnsafeBytes) -> SerializedBytes
[src]
impl Hash for SerializedBytes
[src]
pub fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
[src]
__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
[src]
pub fn cmp(&self, other: &SerializedBytes) -> Ordering
[src]
#[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
[src]
pub fn eq(&self, other: &SerializedBytes) -> bool
[src]
pub fn ne(&self, other: &SerializedBytes) -> bool
[src]
impl PartialOrd<SerializedBytes> for SerializedBytes
[src]
pub fn partial_cmp(&self, other: &SerializedBytes) -> Option<Ordering>
[src]
#[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
[src]
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
impl StructuralEq for SerializedBytes
[src]
impl StructuralPartialEq for SerializedBytes
[src]
impl<'_> TryFrom<&'_ ()> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: &()) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<&'_ ActivityRequest> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
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.
fn try_from(t: &AgentActivity) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<&'_ AgentInfo> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
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.
fn try_from(
t: &AgentValidationPkg
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: &AgentValidationPkg
) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<&'_ AppEntryType> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: &AppEntryType) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl<'_> TryFrom<&'_ BoolWrap> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: &BoolWrap) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<&'_ CapClaim> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
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.
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.
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.
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.
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.
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.
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.
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.
fn try_from(t: &DeleteHeader) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<&'_ DeleteLink> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
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.
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.
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.
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.
fn try_from(t: &ElementDetails) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<&'_ ElementEntry> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: &ElementEntry) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<&'_ Entry> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
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.
fn try_from(t: &EntryDefIndex) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<&'_ EntryDefsCallbackResult> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
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.
fn try_from(t: &EntryDetails) -> Result<SerializedBytes, SerializedBytesError>
[src]
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.
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.
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.
fn try_from(t: &EntryWithDefId) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<&'_ Header> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
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.
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.
fn try_from(t: &HeaderHashes) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<&'_ HeaderType> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
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.
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.
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.
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.
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.
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.
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.
fn try_from(t: &MigrateAgent) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<&'_ MigrateAgentCallbackResult> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
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.
fn try_from(t: &OpenChain) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<&'_ PostCommitCallbackResult> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
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.
fn try_from(t: &RemoteSignal) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<&'_ Sign> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
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.
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.
fn try_from(t: &SignedHeader) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl<'_> TryFrom<&'_ StringWrap> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: &StringWrap) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<&'_ Timestamp> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: &Timestamp) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl<'_> TryFrom<&'_ U32Wrap> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: &U32Wrap) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<&'_ Update> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
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.
fn try_from(t: &UpdateHeader) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<&'_ ValidateCallbackResult> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
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.
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.
fn try_from(t: &ValidateData) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<&'_ ValidateDeleteLinkData> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
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.
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.
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.
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.
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.
fn try_from(t: &Warrant) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<&'_ X25519PubKey> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: &X25519PubKey) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<&'_ X25519XSalsa20Poly1305Decrypt> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
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.
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.
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.
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.
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.
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.
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.
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.
fn try_from(t: &ZomeInfo) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl<'a> TryFrom<&'a SerializedBytes> for SerializedBytes
[src]
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>
[src]
s: &'a SerializedBytes
) -> Result<SerializedBytes, <SerializedBytes as TryFrom<&'a SerializedBytes>>::Error>
impl TryFrom<()> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: ()) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<ActivityRequest> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: ActivityRequest) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<AgentActivity> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: AgentActivity) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<AgentInfo> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
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.
fn try_from(
t: AgentValidationPkg
) -> Result<SerializedBytes, SerializedBytesError>
[src]
t: AgentValidationPkg
) -> Result<SerializedBytes, SerializedBytesError>
impl TryFrom<AppEntryType> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: AppEntryType) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<BoolWrap> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: BoolWrap) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<CapClaim> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
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.
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.
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.
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.
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.
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.
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.
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.
fn try_from(t: DeleteHeader) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<DeleteLink> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
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.
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.
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.
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.
fn try_from(t: ElementDetails) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<ElementEntry> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: ElementEntry) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<Entry> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
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.
fn try_from(t: EntryDefIndex) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<EntryDefsCallbackResult> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
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.
fn try_from(t: EntryDetails) -> Result<SerializedBytes, SerializedBytesError>
[src]
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.
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.
fn try_from(t: EntryVisibility) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<EntryWithDefId> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: EntryWithDefId) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<Header> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
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.
fn try_from(t: HeaderHashedVec) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<HeaderHashes> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: HeaderHashes) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<HeaderType> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
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.
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.
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.
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.
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.
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.
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.
fn try_from(t: MigrateAgent) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<MigrateAgentCallbackResult> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
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.
fn try_from(t: OpenChain) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<PostCommitCallbackResult> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
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.
fn try_from(t: RemoteSignal) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for ()
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(sb: SerializedBytes) -> Result<(), 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 Entry
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<Entry, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for EntryWithDefId
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<EntryWithDefId, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for EntryVisibility
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
sb: SerializedBytes
) -> Result<EntryVisibility, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<EntryVisibility, SerializedBytesError>
impl TryFrom<SerializedBytes> for EntryDefsCallbackResult
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
sb: SerializedBytes
) -> Result<EntryDefsCallbackResult, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<EntryDefsCallbackResult, SerializedBytesError>
impl TryFrom<SerializedBytes> for HeaderHashes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<HeaderHashes, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for HeaderHashedVec
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
sb: SerializedBytes
) -> Result<HeaderHashedVec, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<HeaderHashedVec, SerializedBytesError>
impl TryFrom<SerializedBytes> for Header
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<Header, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for HeaderType
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<HeaderType, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for ZomeId
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<ZomeId, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for EntryDefIndex
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<EntryDefIndex, SerializedBytesError>
[src]
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 Dna
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<Dna, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for AgentValidationPkg
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
sb: SerializedBytes
) -> Result<AgentValidationPkg, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<AgentValidationPkg, SerializedBytesError>
impl TryFrom<SerializedBytes> for InitZomesComplete
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
sb: SerializedBytes
) -> Result<InitZomesComplete, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<InitZomesComplete, SerializedBytesError>
impl TryFrom<SerializedBytes> for CreateLink
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<CreateLink, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for DeleteLink
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<DeleteLink, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for OpenChain
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<OpenChain, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for CloseChain
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<CloseChain, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for Create
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<Create, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for Update
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<Update, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for Delete
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<Delete, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for CapClaim
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<CapClaim, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for UpdateHeader
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<UpdateHeader, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for DeleteHeader
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<DeleteHeader, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for EntryType
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<EntryType, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for AppEntryType
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<AppEntryType, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for ZomeInfo
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<ZomeInfo, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for AgentInfo
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<AgentInfo, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for InitCallbackResult
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
sb: SerializedBytes
) -> Result<InitCallbackResult, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<InitCallbackResult, SerializedBytesError>
impl TryFrom<SerializedBytes> for LinkTag
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<LinkTag, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for Link
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<Link, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for Links
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<Links, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for CapSecret
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<CapSecret, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for LinkDetails
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<LinkDetails, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for Details
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<Details, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for ElementDetails
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<ElementDetails, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for EntryDetails
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<EntryDetails, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for MigrateAgent
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<MigrateAgent, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for MigrateAgentCallbackResult
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
sb: SerializedBytes
) -> Result<MigrateAgentCallbackResult, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<MigrateAgentCallbackResult, SerializedBytesError>
impl TryFrom<SerializedBytes> for PostCommitCallbackResult
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
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.
fn try_from(
sb: SerializedBytes
) -> Result<ChainQueryFilter, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<ChainQueryFilter, SerializedBytesError>
impl TryFrom<SerializedBytes> for AgentActivity
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<AgentActivity, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for ActivityRequest
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
sb: SerializedBytes
) -> Result<ActivityRequest, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<ActivityRequest, SerializedBytesError>
impl TryFrom<SerializedBytes> for CellId
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<CellId, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for RemoteSignal
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<RemoteSignal, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for Sign
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<Sign, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for Signature
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<Signature, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for VerifySignature
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
sb: SerializedBytes
) -> Result<VerifySignature, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<VerifySignature, SerializedBytesError>
impl TryFrom<SerializedBytes> for Timestamp
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<Timestamp, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for ValidateData
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<ValidateData, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for ValidateCallbackResult
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
sb: SerializedBytes
) -> Result<ValidateCallbackResult, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<ValidateCallbackResult, SerializedBytesError>
impl TryFrom<SerializedBytes> for ValidationPackage
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
sb: SerializedBytes
) -> Result<ValidationPackage, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<ValidationPackage, SerializedBytesError>
impl TryFrom<SerializedBytes> for ValidationPackageCallbackResult
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
sb: SerializedBytes
) -> Result<ValidationPackageCallbackResult, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<ValidationPackageCallbackResult, SerializedBytesError>
impl TryFrom<SerializedBytes> for ValidateCreateLinkData
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
sb: SerializedBytes
) -> Result<ValidateCreateLinkData, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<ValidateCreateLinkData, SerializedBytesError>
impl TryFrom<SerializedBytes> for Element
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<Element, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for ValidateDeleteLinkData
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
sb: SerializedBytes
) -> Result<ValidateDeleteLinkData, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<ValidateDeleteLinkData, SerializedBytesError>
impl TryFrom<SerializedBytes> for ValidateLinkCallbackResult
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
sb: SerializedBytes
) -> Result<ValidateLinkCallbackResult, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<ValidateLinkCallbackResult, SerializedBytesError>
impl TryFrom<SerializedBytes> for Warrant
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<Warrant, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for XSalsa20Poly1305KeyRef
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
sb: SerializedBytes
) -> Result<XSalsa20Poly1305KeyRef, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<XSalsa20Poly1305KeyRef, SerializedBytesError>
impl TryFrom<SerializedBytes> for XSalsa20Poly1305Nonce
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
sb: SerializedBytes
) -> Result<XSalsa20Poly1305Nonce, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<XSalsa20Poly1305Nonce, SerializedBytesError>
impl TryFrom<SerializedBytes> for X25519PubKey
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<X25519PubKey, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for XSalsa20Poly1305Encrypt
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
sb: SerializedBytes
) -> Result<XSalsa20Poly1305Encrypt, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<XSalsa20Poly1305Encrypt, SerializedBytesError>
impl TryFrom<SerializedBytes> for X25519XSalsa20Poly1305Encrypt
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
sb: SerializedBytes
) -> Result<X25519XSalsa20Poly1305Encrypt, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<X25519XSalsa20Poly1305Encrypt, SerializedBytesError>
impl TryFrom<SerializedBytes> for XSalsa20Poly1305Decrypt
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
sb: SerializedBytes
) -> Result<XSalsa20Poly1305Decrypt, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<XSalsa20Poly1305Decrypt, SerializedBytesError>
impl TryFrom<SerializedBytes> for X25519XSalsa20Poly1305Decrypt
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
sb: SerializedBytes
) -> Result<X25519XSalsa20Poly1305Decrypt, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<X25519XSalsa20Poly1305Decrypt, SerializedBytesError>
impl TryFrom<SerializedBytes> for ElementEntry
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<ElementEntry, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for ZomeCallResponse
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(
sb: SerializedBytes
) -> Result<ZomeCallResponse, SerializedBytesError>
[src]
sb: SerializedBytes
) -> Result<ZomeCallResponse, SerializedBytesError>
impl TryFrom<SerializedBytes> for SignedHeader
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<SignedHeader, SerializedBytesError>
[src]
impl TryFrom<SerializedBytes> for AppEntryBytes
[src]
type Error = EntryError
The type returned in the event of a conversion error.
fn try_from(sb: SerializedBytes) -> Result<Self, EntryError>
[src]
impl TryFrom<Sign> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
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.
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.
fn try_from(t: SignedHeader) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<StringWrap> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: StringWrap) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<Timestamp> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: Timestamp) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<U32Wrap> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
pub fn try_from(t: U32Wrap) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<Update> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
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.
fn try_from(t: UpdateHeader) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<ValidateCallbackResult> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
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.
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.
fn try_from(t: ValidateData) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<ValidateDeleteLinkData> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
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.
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.
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.
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.
fn try_from(t: VerifySignature) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<Warrant> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: Warrant) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<X25519PubKey> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
fn try_from(t: X25519PubKey) -> Result<SerializedBytes, SerializedBytesError>
[src]
impl TryFrom<X25519XSalsa20Poly1305Decrypt> for SerializedBytes
[src]
type Error = SerializedBytesError
The type returned in the event of a conversion error.
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.
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.
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.
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.
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.
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.
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.
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.
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>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
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>,