pub struct SerializedBytes(_);
Expand description

A Canonical Serialized Bytes representation for data If you have a data structure that needs a canonical byte representation use this Always round-trip through SerializedBytes via. a single TryFrom implementation. This ensures that the internal bytes of SerializedBytes are indeed canonical. The corrolary is that if bytes are NOT wrapped in SerializedBytes we can assume they are NOT canonical. Typically we need a canonical serialization when data is to be handled at the byte level by independently implemented and maintained systems.

Examples of times we need a canonical set of bytes to represent data:

  • cryptographic operations
  • moving across the host/guest wasm boundary
  • putting data on the network

Examples of times where we may not need a canonical representation and so may not need this:

  • round tripping data through a database that has its own serialization preferences
  • debug output or logging of data that is to be human readible
  • moving between data types within a single system that has no external facing representation

uses #[repr(transparent)] to maximise compatibility with ffi @see https://doc.rust-lang.org/1.26.2/unstable-book/language-features/repr-transparent.html#enter-reprtransparent

uses serde_bytes for efficient serialization and deserialization without this every byte will be individually round tripped through serde @see https://crates.io/crates/serde_bytes

Implementations§

§

impl SerializedBytes

pub fn bytes(&self) -> &Vec<u8, Global>

Trait Implementations§

§

impl AsRef<SerializedBytes> for AppEntryBytes

§

fn as_ref(&self) -> &SerializedBytes

Converts this type into a shared reference of the (usually inferred) input type.
§

impl Borrow<SerializedBytes> for AppEntryBytes

§

fn borrow(&self) -> &SerializedBytes

Immutably borrows from an owned value. Read more
§

impl Clone for SerializedBytes

§

fn clone(&self) -> SerializedBytes

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

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.

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for SerializedBytes

§

fn default() -> SerializedBytes

Returns the “default value” for a type. Read more
§

impl<'de> Deserialize<'de> for SerializedBytes

§

fn deserialize<__D>(
    __deserializer: __D
) -> Result<SerializedBytes, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl From<AppEntryBytes> for SerializedBytes

§

fn from(aeb: AppEntryBytes) -> SerializedBytes

Converts to this type from the input type.
§

impl From<SerializedBytes> for UnsafeBytes

§

fn from(sb: SerializedBytes) -> UnsafeBytes

Converts to this type from the input type.
§

impl From<UnsafeBytes> for SerializedBytes

§

fn from(b: UnsafeBytes) -> SerializedBytes

Converts to this type from the input type.
§

impl Hash for SerializedBytes

§

fn hash<__H>(&self, state: &mut __H)where
    __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where
    H: Hasher,
    Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl Ord for SerializedBytes

§

fn cmp(&self, other: &SerializedBytes) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere
    Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere
    Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere
    Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
§

impl PartialEq<SerializedBytes> for SerializedBytes

§

fn eq(&self, other: &SerializedBytes) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl PartialOrd<SerializedBytes> for SerializedBytes

§

fn partial_cmp(&self, other: &SerializedBytes) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
§

impl Serialize for SerializedBytes

§

fn serialize<__S>(
    &self,
    __serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
    __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl<'a> TryFrom<&'a SerializedBytes> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    s: &'a SerializedBytes
) -> Result<SerializedBytes, <SerializedBytes as TryFrom<&'a SerializedBytes>>::Error>

Performs the conversion.
§

impl TryFrom<&()> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: &()) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&Action> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: &Action) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&ActionType> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: &ActionType) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<&ActivityRequest> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(
    t: &ActivityRequest
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<&AgentActivity> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: &AgentActivity) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<&AgentInfo> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: &AgentInfo) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&AgentValidationPkg> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    t: &AgentValidationPkg
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<&Anchor> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: &Anchor) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<&AnyDht> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: &AnyDht) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<&AnyLinkable> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: &AnyLinkable) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&AppEntryDef> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: &AppEntryDef) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&CapClaim> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: &CapClaim) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&CapSecret> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: &CapSecret) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<&CellId> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: &CellId) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&ChainFilter<HoloHash<Action>>> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    t: &ChainFilter<HoloHash<Action>>
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<&ChainQueryFilter> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(
    t: &ChainQueryFilter
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&CloseChain> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: &CloseChain) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<&Component> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: &Component) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&Create<EntryRateWeight>> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    t: &Create<EntryRateWeight>
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<&CreateInput> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: &CreateInput) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&CreateLink<RateWeight>> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    t: &CreateLink<RateWeight>
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&Delete<RateWeight>> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    t: &Delete<RateWeight>
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&DeleteAction> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: &DeleteAction) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&DeleteLink> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: &DeleteLink) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<&Details> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: &Details) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<&DeterministicGetAgentActivityFilter> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(
    t: &DeterministicGetAgentActivityFilter
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&Dna> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: &Dna) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<&DnaDef> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: &DnaDef) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&Entry> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: &Entry) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&EntryCreationAction> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    t: &EntryCreationAction
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&EntryDefIndex> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: &EntryDefIndex) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&EntryDefsCallbackResult> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    t: &EntryDefsCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<&EntryDetails> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: &EntryDetails) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<&EntryHashes> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: &EntryHashes) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&EntryRateWeight> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    t: &EntryRateWeight
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&EntryType> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: &EntryType) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&EntryVisibility> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    t: &EntryVisibility
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&GenesisSelfCheckData> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    t: &GenesisSelfCheckData
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl<T> TryFrom<&HoloHash<T>> for SerializedByteswhere
    T: HashType,

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: &HoloHash<T>) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<&InitCallbackResult> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(
    t: &InitCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&InitZomesComplete> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    t: &InitZomesComplete
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<&Link> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: &Link) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<&LinkDetails> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: &LinkDetails) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&LinkTag> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: &LinkTag) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&LinkType> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: &LinkType) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<&MigrateAgent> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: &MigrateAgent) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<&MigrateAgentCallbackResult> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(
    t: &MigrateAgentCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&Op> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: &Op) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&OpenChain> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: &OpenChain) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<&Path> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: &Path) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&RateWeight> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: &RateWeight) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&Record<SignedHashed<Action>>> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    t: &Record<SignedHashed<Action>>
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<&RecordDetails> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: &RecordDetails) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&RecordEntry> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: &RecordEntry) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&RegisterAgentActivity> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    t: &RegisterAgentActivity
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&RegisterCreateLink> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    t: &RegisterCreateLink
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&RegisterDelete> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: &RegisterDelete) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&RegisterDeleteLink> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    t: &RegisterDeleteLink
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&RegisterUpdate> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: &RegisterUpdate) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<&RemoteSignal> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: &RemoteSignal) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&ScopedZomeTypesSet> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    t: &ScopedZomeTypesSet
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<&Sign> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: &Sign) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<&SignedAction> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: &SignedAction) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&StoreEntry> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: &StoreEntry) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&StoreRecord> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: &StoreRecord) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<&TypedPath> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: &TypedPath) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&Update<EntryRateWeight>> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    t: &Update<EntryRateWeight>
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&UpdateAction> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: &UpdateAction) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&ValidateCallbackResult> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    t: &ValidateCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&VerifySignature> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    t: &VerifySignature
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<&Warrant> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: &Warrant) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<&WasmZome> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: &WasmZome) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&WeighInput> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: &WeighInput) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&X25519PubKey> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: &X25519PubKey) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&X25519XSalsa20Poly1305Decrypt> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    t: &X25519XSalsa20Poly1305Decrypt
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<&X25519XSalsa20Poly1305Encrypt> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(
    t: &X25519XSalsa20Poly1305Encrypt
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&XSalsa20Poly1305Decrypt> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    t: &XSalsa20Poly1305Decrypt
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<&XSalsa20Poly1305Encrypt> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(
    t: &XSalsa20Poly1305Encrypt
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&XSalsa20Poly1305KeyRef> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    t: &XSalsa20Poly1305KeyRef
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&XSalsa20Poly1305Nonce> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    t: &XSalsa20Poly1305Nonce
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<&XSalsa20Poly1305SharedSecretExport> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(
    t: &XSalsa20Poly1305SharedSecretExport
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<&XSalsa20Poly1305SharedSecretIngest> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(
    t: &XSalsa20Poly1305SharedSecretIngest
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<&ZomeCallResponse> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(
    t: &ZomeCallResponse
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&ZomeIndex> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: &ZomeIndex) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<&ZomeInfo> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: &ZomeInfo) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<()> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: ()) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<Action> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: Action) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<ActionType> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: ActionType) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<ActivityRequest> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: ActivityRequest) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<AgentActivity> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: AgentActivity) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<AgentInfo> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: AgentInfo) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<AgentValidationPkg> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    t: AgentValidationPkg
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<Anchor> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: Anchor) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<AnyDht> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: AnyDht) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<AnyLinkable> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: AnyLinkable) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<AppEntryDef> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: AppEntryDef) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<CapClaim> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: CapClaim) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<CapSecret> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: CapSecret) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<CellId> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: CellId) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<ChainFilter<HoloHash<Action>>> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    t: ChainFilter<HoloHash<Action>>
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<ChainQueryFilter> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(
    t: ChainQueryFilter
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<CloseChain> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: CloseChain) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<Component> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: Component) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<Create<EntryRateWeight>> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    t: Create<EntryRateWeight>
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<CreateInput> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: CreateInput) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<CreateLink<RateWeight>> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    t: CreateLink<RateWeight>
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<Delete<RateWeight>> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    t: Delete<RateWeight>
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<DeleteAction> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: DeleteAction) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<DeleteLink> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: DeleteLink) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<Details> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: Details) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<DeterministicGetAgentActivityFilter> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(
    t: DeterministicGetAgentActivityFilter
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<Dna> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: Dna) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<DnaDef> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: DnaDef) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<Entry> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: Entry) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<EntryCreationAction> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    t: EntryCreationAction
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<EntryDefIndex> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: EntryDefIndex) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<EntryDefsCallbackResult> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    t: EntryDefsCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<EntryDetails> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: EntryDetails) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<EntryHashes> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: EntryHashes) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<EntryRateWeight> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: EntryRateWeight) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<EntryType> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: EntryType) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<EntryVisibility> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: EntryVisibility) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<GenesisSelfCheckData> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    t: GenesisSelfCheckData
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl<T> TryFrom<HoloHash<T>> for SerializedByteswhere
    T: HashType,

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: HoloHash<T>) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<InitCallbackResult> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(
    t: InitCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<InitZomesComplete> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    t: InitZomesComplete
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<Link> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: Link) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<LinkDetails> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: LinkDetails) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<LinkTag> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: LinkTag) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<LinkType> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: LinkType) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<MigrateAgent> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: MigrateAgent) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<MigrateAgentCallbackResult> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(
    t: MigrateAgentCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<Op> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: Op) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<OpenChain> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: OpenChain) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<Path> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: Path) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<RateWeight> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: RateWeight) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<Record<SignedHashed<Action>>> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    t: Record<SignedHashed<Action>>
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<RecordDetails> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: RecordDetails) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<RecordEntry> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: RecordEntry) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<RegisterAgentActivity> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    t: RegisterAgentActivity
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<RegisterCreateLink> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    t: RegisterCreateLink
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<RegisterDelete> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: RegisterDelete) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<RegisterDeleteLink> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    t: RegisterDeleteLink
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<RegisterUpdate> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: RegisterUpdate) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<RemoteSignal> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: RemoteSignal) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<ScopedZomeTypesSet> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    t: ScopedZomeTypesSet
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for ()

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(sb: SerializedBytes) -> Result<(), SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for Action

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(sb: SerializedBytes) -> Result<Action, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for ActionType

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(sb: SerializedBytes) -> Result<ActionType, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for ActivityRequest

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(
    sb: SerializedBytes
) -> Result<ActivityRequest, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for AgentActivity

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(sb: SerializedBytes) -> Result<AgentActivity, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for AgentInfo

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(sb: SerializedBytes) -> Result<AgentInfo, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for AgentValidationPkg

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    sb: SerializedBytes
) -> Result<AgentValidationPkg, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for Anchor

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(sb: SerializedBytes) -> Result<Anchor, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for AnyDht

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(sb: SerializedBytes) -> Result<AnyDht, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for AnyLinkable

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(sb: SerializedBytes) -> Result<AnyLinkable, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for AppEntryBytes

§

type Error = EntryError

The type returned in the event of a conversion error.
§

fn try_from(sb: SerializedBytes) -> Result<AppEntryBytes, EntryError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for AppEntryDef

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(sb: SerializedBytes) -> Result<AppEntryDef, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for CapClaim

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(sb: SerializedBytes) -> Result<CapClaim, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for CapSecret

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(sb: SerializedBytes) -> Result<CapSecret, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for CellId

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(sb: SerializedBytes) -> Result<CellId, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for ChainFilter<HoloHash<Action>>

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    sb: SerializedBytes
) -> Result<ChainFilter<HoloHash<Action>>, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for ChainQueryFilter

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(
    sb: SerializedBytes
) -> Result<ChainQueryFilter, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for CloseChain

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(sb: SerializedBytes) -> Result<CloseChain, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for Component

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(sb: SerializedBytes) -> Result<Component, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for Create<EntryRateWeight>

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    sb: SerializedBytes
) -> Result<Create<EntryRateWeight>, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for CreateInput

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(sb: SerializedBytes) -> Result<CreateInput, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for CreateLink<RateWeight>

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    sb: SerializedBytes
) -> Result<CreateLink<RateWeight>, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for Delete<RateWeight>

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    sb: SerializedBytes
) -> Result<Delete<RateWeight>, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for DeleteAction

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(sb: SerializedBytes) -> Result<DeleteAction, SerializedBytesError>

Performs the conversion.
§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(sb: SerializedBytes) -> Result<DeleteLink, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for Details

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(sb: SerializedBytes) -> Result<Details, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for DeterministicGetAgentActivityFilter

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(
    sb: SerializedBytes
) -> Result<DeterministicGetAgentActivityFilter, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for Dna

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(sb: SerializedBytes) -> Result<Dna, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for DnaDef

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(sb: SerializedBytes) -> Result<DnaDef, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for Entry

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(sb: SerializedBytes) -> Result<Entry, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for EntryCreationAction

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    sb: SerializedBytes
) -> Result<EntryCreationAction, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for EntryDefIndex

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(sb: SerializedBytes) -> Result<EntryDefIndex, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for EntryDefsCallbackResult

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    sb: SerializedBytes
) -> Result<EntryDefsCallbackResult, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for EntryDetails

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(sb: SerializedBytes) -> Result<EntryDetails, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for EntryHashes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(sb: SerializedBytes) -> Result<EntryHashes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for EntryRateWeight

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    sb: SerializedBytes
) -> Result<EntryRateWeight, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for EntryType

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(sb: SerializedBytes) -> Result<EntryType, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for EntryVisibility

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    sb: SerializedBytes
) -> Result<EntryVisibility, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for GenesisSelfCheckData

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    sb: SerializedBytes
) -> Result<GenesisSelfCheckData, SerializedBytesError>

Performs the conversion.
source§

impl<T> TryFrom<SerializedBytes> for HoloHash<T>where
    T: HashType,

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(sb: SerializedBytes) -> Result<HoloHash<T>, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for InitCallbackResult

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(
    sb: SerializedBytes
) -> Result<InitCallbackResult, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for InitZomesComplete

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    sb: SerializedBytes
) -> Result<InitZomesComplete, SerializedBytesError>

Performs the conversion.
§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(sb: SerializedBytes) -> Result<Link, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for LinkDetails

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(sb: SerializedBytes) -> Result<LinkDetails, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for LinkTag

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(sb: SerializedBytes) -> Result<LinkTag, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for LinkType

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(sb: SerializedBytes) -> Result<LinkType, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for MigrateAgent

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(sb: SerializedBytes) -> Result<MigrateAgent, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for MigrateAgentCallbackResult

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(
    sb: SerializedBytes
) -> Result<MigrateAgentCallbackResult, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for Op

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(sb: SerializedBytes) -> Result<Op, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for OpenChain

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(sb: SerializedBytes) -> Result<OpenChain, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for Path

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(sb: SerializedBytes) -> Result<Path, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for RateWeight

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(sb: SerializedBytes) -> Result<RateWeight, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for Record<SignedHashed<Action>>

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    sb: SerializedBytes
) -> Result<Record<SignedHashed<Action>>, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for RecordDetails

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(sb: SerializedBytes) -> Result<RecordDetails, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for RecordEntry

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(sb: SerializedBytes) -> Result<RecordEntry, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for RegisterAgentActivity

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    sb: SerializedBytes
) -> Result<RegisterAgentActivity, SerializedBytesError>

Performs the conversion.
§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    sb: SerializedBytes
) -> Result<RegisterCreateLink, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for RegisterDelete

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(sb: SerializedBytes) -> Result<RegisterDelete, SerializedBytesError>

Performs the conversion.
§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    sb: SerializedBytes
) -> Result<RegisterDeleteLink, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for RegisterUpdate

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(sb: SerializedBytes) -> Result<RegisterUpdate, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for RemoteSignal

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(sb: SerializedBytes) -> Result<RemoteSignal, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for ScopedZomeTypesSet

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    sb: SerializedBytes
) -> Result<ScopedZomeTypesSet, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for Sign

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(sb: SerializedBytes) -> Result<Sign, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for SignedAction

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(sb: SerializedBytes) -> Result<SignedAction, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for StoreEntry

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(sb: SerializedBytes) -> Result<StoreEntry, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for StoreRecord

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(sb: SerializedBytes) -> Result<StoreRecord, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for TypedPath

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(sb: SerializedBytes) -> Result<TypedPath, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for Update<EntryRateWeight>

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    sb: SerializedBytes
) -> Result<Update<EntryRateWeight>, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for UpdateAction

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(sb: SerializedBytes) -> Result<UpdateAction, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for ValidateCallbackResult

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    sb: SerializedBytes
) -> Result<ValidateCallbackResult, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for VerifySignature

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    sb: SerializedBytes
) -> Result<VerifySignature, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for Warrant

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(sb: SerializedBytes) -> Result<Warrant, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for WasmZome

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(sb: SerializedBytes) -> Result<WasmZome, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for WeighInput

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(sb: SerializedBytes) -> Result<WeighInput, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for X25519PubKey

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(sb: SerializedBytes) -> Result<X25519PubKey, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for X25519XSalsa20Poly1305Decrypt

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    sb: SerializedBytes
) -> Result<X25519XSalsa20Poly1305Decrypt, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for X25519XSalsa20Poly1305Encrypt

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(
    sb: SerializedBytes
) -> Result<X25519XSalsa20Poly1305Encrypt, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for XSalsa20Poly1305Decrypt

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    sb: SerializedBytes
) -> Result<XSalsa20Poly1305Decrypt, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for XSalsa20Poly1305Encrypt

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(
    sb: SerializedBytes
) -> Result<XSalsa20Poly1305Encrypt, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for XSalsa20Poly1305KeyRef

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    sb: SerializedBytes
) -> Result<XSalsa20Poly1305KeyRef, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for XSalsa20Poly1305Nonce

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    sb: SerializedBytes
) -> Result<XSalsa20Poly1305Nonce, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for XSalsa20Poly1305SharedSecretExport

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(
    sb: SerializedBytes
) -> Result<XSalsa20Poly1305SharedSecretExport, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for XSalsa20Poly1305SharedSecretIngest

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(
    sb: SerializedBytes
) -> Result<XSalsa20Poly1305SharedSecretIngest, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for ZomeCallResponse

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(
    sb: SerializedBytes
) -> Result<ZomeCallResponse, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for ZomeIndex

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(sb: SerializedBytes) -> Result<ZomeIndex, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<SerializedBytes> for ZomeInfo

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(sb: SerializedBytes) -> Result<ZomeInfo, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<Sign> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: Sign) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<SignedAction> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: SignedAction) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<StoreEntry> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: StoreEntry) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<StoreRecord> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: StoreRecord) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<TypedPath> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: TypedPath) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<Update<EntryRateWeight>> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    t: Update<EntryRateWeight>
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<UpdateAction> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: UpdateAction) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<ValidateCallbackResult> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    t: ValidateCallbackResult
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<VerifySignature> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: VerifySignature) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<Warrant> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: Warrant) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<WasmZome> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(t: WasmZome) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<WeighInput> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: WeighInput) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<X25519PubKey> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: X25519PubKey) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<X25519XSalsa20Poly1305Decrypt> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    t: X25519XSalsa20Poly1305Decrypt
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<X25519XSalsa20Poly1305Encrypt> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(
    t: X25519XSalsa20Poly1305Encrypt
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<XSalsa20Poly1305Decrypt> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    t: XSalsa20Poly1305Decrypt
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<XSalsa20Poly1305Encrypt> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(
    t: XSalsa20Poly1305Encrypt
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<XSalsa20Poly1305KeyRef> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    t: XSalsa20Poly1305KeyRef
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<XSalsa20Poly1305Nonce> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(
    t: XSalsa20Poly1305Nonce
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<XSalsa20Poly1305SharedSecretExport> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(
    t: XSalsa20Poly1305SharedSecretExport
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<XSalsa20Poly1305SharedSecretIngest> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(
    t: XSalsa20Poly1305SharedSecretIngest
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
source§

impl TryFrom<ZomeCallResponse> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
source§

fn try_from(
    t: ZomeCallResponse
) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<ZomeIndex> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: ZomeIndex) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl TryFrom<ZomeInfo> for SerializedBytes

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from(t: ZomeInfo) -> Result<SerializedBytes, SerializedBytesError>

Performs the conversion.
§

impl Eq for SerializedBytes

§

impl StructuralEq for SerializedBytes

§

impl StructuralPartialEq for SerializedBytes

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere
    T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata(
    _: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for Twhere
    T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere
    T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CallHasher for Twhere
    T: Hash + ?Sized,

§

default fn get_hash<H, B>(value: &H, build_hasher: &B) -> u64where
    H: Hash + ?Sized,
    B: BuildHasher,

§

impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
    W: DeserializeWith<F, T, D>,
    D: Fallible + ?Sized,
    F: ?Sized,

§

fn deserialize(
    &self,
    deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<Q, K> Equivalent<K> for Qwhere
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere
    U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> ToOwned for Twhere
    T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere
    U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere
    U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Upcastable for Twhere
    T: Any + Send + Sync + 'static,

§

fn upcast_any_ref(&self) -> &(dyn Any + 'static)

upcast ref
§

fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)

upcast mut ref
§

fn upcast_any_box(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>

upcast boxed dyn
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
    S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere
    T: for<'de> Deserialize<'de>,