pub struct SerializedBytes(/* private fields */);
Expand description

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

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

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

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

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

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

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

Implementations§

Trait Implementations§

source§

impl AsRef<SerializedBytes> for AppEntryBytes

source§

fn as_ref(&self) -> &SerializedBytes

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

impl Borrow<SerializedBytes> for AppEntryBytes

source§

fn borrow(&self) -> &SerializedBytes

Immutably borrows from an owned value. Read more
source§

impl Clone for SerializedBytes

source§

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
source§

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.

source§

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

Formats the value using the given formatter. Read more
source§

impl Default for SerializedBytes

source§

fn default() -> SerializedBytes

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

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

source§

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
source§

impl From<AppEntryBytes> for SerializedBytes

source§

fn from(aeb: AppEntryBytes) -> SerializedBytes

Converts to this type from the input type.
source§

impl From<SerializedBytes> for UnsafeBytes

source§

fn from(sb: SerializedBytes) -> UnsafeBytes

Converts to this type from the input type.
source§

impl From<UnsafeBytes> for SerializedBytes

source§

fn from(b: UnsafeBytes) -> SerializedBytes

Converts to this type from the input type.
source§

impl Hash for SerializedBytes

source§

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
source§

impl Ord for SerializedBytes

source§

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) -> Self
where Self: Sized,

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

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

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

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

Restrict a value to a certain interval. Read more
source§

impl PartialEq for SerializedBytes

source§

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.
source§

impl PartialOrd for SerializedBytes

source§

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
source§

impl Serialize for SerializedBytes

source§

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
source§

impl TryFrom<&()> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<&Action> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<&ActionType> for SerializedBytes

§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<&AgentValidationPkg> for SerializedBytes

§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<&AppEntryDef> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<&CapClaim> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<&CapSecret> for SerializedBytes

§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<&ChainFilter> for SerializedBytes

§

type Error = SerializedBytesError

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

fn try_from(t: &ChainFilter) -> 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.
source§

impl TryFrom<&CloseChain> for SerializedBytes

§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<&Create> for SerializedBytes

§

type Error = SerializedBytesError

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

fn try_from(t: &Create) -> 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.
source§

impl TryFrom<&CreateLink> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<&Delete> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<&DeleteAction> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<&DeleteLink> for SerializedBytes

§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<&Dna> for SerializedBytes

§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<&Entry> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<&EntryCreationAction> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<&EntryDefIndex> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<&EntryDefsCallbackResult> for SerializedBytes

§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<&EntryRateWeight> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<&EntryType> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<&EntryVisibility> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<&GenesisSelfCheckDataV1> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<&GenesisSelfCheckDataV2> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl<T> TryFrom<&HoloHash<T>> for SerializedBytes
where 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.
source§

impl TryFrom<&InitZomesComplete> for SerializedBytes

§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<&LinkQuery> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<&LinkTag> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<&LinkType> for SerializedBytes

§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<&Op> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<&OpenChain> for SerializedBytes

§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<&RateWeight> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<&Record> for SerializedBytes

§

type Error = SerializedBytesError

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

fn try_from(t: &Record) -> 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.
source§

impl TryFrom<&RecordEntry> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<&RegisterAgentActivity> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<&RegisterCreateLink> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<&RegisterDelete> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<&RegisterDeleteLink> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<&RegisterUpdate> for SerializedBytes

§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<&ScopedZomeTypesSet> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

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

§

type Error = SerializedBytesError

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

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

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.
source§

impl TryFrom<&StoreEntry> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<&StoreRecord> for SerializedBytes

§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<&Update> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<&UpdateAction> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<&ValidateCallbackResult> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<&VerifySignature> for SerializedBytes

§

type Error = SerializedBytesError

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

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<&WeighInput> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<&X25519PubKey> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<&X25519XSalsa20Poly1305Decrypt> for SerializedBytes

§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<&XSalsa20Poly1305Decrypt> for SerializedBytes

§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<&XSalsa20Poly1305KeyRef> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<&XSalsa20Poly1305Nonce> for SerializedBytes

§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<&ZomeIndex> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<&ZomeInfo> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<()> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<Action> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<ActionType> for SerializedBytes

§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<AgentValidationPkg> for SerializedBytes

§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<AppEntryDef> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<CapClaim> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<CapSecret> for SerializedBytes

§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<ChainFilter> for SerializedBytes

§

type Error = SerializedBytesError

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

fn try_from(t: ChainFilter) -> 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.
source§

impl TryFrom<CloseChain> for SerializedBytes

§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<Create> for SerializedBytes

§

type Error = SerializedBytesError

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

fn try_from(t: Create) -> 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.
source§

impl TryFrom<CreateLink> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<Delete> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<DeleteAction> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<DeleteLink> for SerializedBytes

§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<Dna> for SerializedBytes

§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<Entry> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<EntryCreationAction> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<EntryDefIndex> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<EntryDefsCallbackResult> for SerializedBytes

§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<EntryRateWeight> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<EntryType> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<EntryVisibility> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<GenesisSelfCheckDataV1> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<GenesisSelfCheckDataV2> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl<T> TryFrom<HoloHash<T>> for SerializedBytes
where 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.
source§

impl TryFrom<InitZomesComplete> for SerializedBytes

§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<LinkQuery> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<LinkTag> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<LinkType> for SerializedBytes

§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<Op> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<OpenChain> for SerializedBytes

§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<RateWeight> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<Record> for SerializedBytes

§

type Error = SerializedBytesError

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

fn try_from(t: Record) -> 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.
source§

impl TryFrom<RecordEntry> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<RegisterAgentActivity> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<RegisterCreateLink> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<RegisterDelete> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<RegisterDeleteLink> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<RegisterUpdate> for SerializedBytes

§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<ScopedZomeTypesSet> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for ()

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for Action

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for ActionType

§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<SerializedBytes> for AgentValidationPkg

§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<SerializedBytes> for AppEntryBytes

§

type Error = EntryError

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

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

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for AppEntryDef

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for CapClaim

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for CapSecret

§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<SerializedBytes> for ChainFilter

§

type Error = SerializedBytesError

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

fn try_from(sb: SerializedBytes) -> Result<ChainFilter, 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.
source§

impl TryFrom<SerializedBytes> for CloseChain

§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<SerializedBytes> for Create

§

type Error = SerializedBytesError

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

fn try_from(sb: SerializedBytes) -> Result<Create, 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.
§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for Delete

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for DeleteAction

§

type Error = SerializedBytesError

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

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

Performs the conversion.
§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<SerializedBytes> for Dna

§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<SerializedBytes> for Entry

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for EntryCreationAction

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for EntryDefIndex

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for EntryDefsCallbackResult

§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<SerializedBytes> for EntryRateWeight

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for EntryType

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for EntryVisibility

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for GenesisSelfCheckDataV1

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for GenesisSelfCheckDataV2

§

type Error = SerializedBytesError

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

fn try_from( sb: SerializedBytes ) -> Result<GenesisSelfCheckDataV2, 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.
source§

impl TryFrom<SerializedBytes> for InitZomesComplete

§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<SerializedBytes> for LinkQuery

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for LinkTag

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for LinkType

§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<SerializedBytes> for Op

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for OpenChain

§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<SerializedBytes> for RateWeight

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for Record

§

type Error = SerializedBytesError

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

fn try_from(sb: SerializedBytes) -> Result<Record, 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.
source§

impl TryFrom<SerializedBytes> for RecordEntry

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for RegisterAgentActivity

§

type Error = SerializedBytesError

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

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

Performs the conversion.
§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for RegisterDelete

§

type Error = SerializedBytesError

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

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

Performs the conversion.
§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for RegisterUpdate

§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<SerializedBytes> for ScopedZomeTypesSet

§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<SerializedBytes> for StoreEntry

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for StoreRecord

§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<SerializedBytes> for Update

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for UpdateAction

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for ValidateCallbackResult

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for VerifySignature

§

type Error = SerializedBytesError

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

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 WeighInput

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for X25519PubKey

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for X25519XSalsa20Poly1305Decrypt

§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<SerializedBytes> for XSalsa20Poly1305Decrypt

§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<SerializedBytes> for XSalsa20Poly1305KeyRef

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for XSalsa20Poly1305Nonce

§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<SerializedBytes> for ZomeIndex

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<SerializedBytes> for ZomeInfo

§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<StoreEntry> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<StoreRecord> for SerializedBytes

§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<Update> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<UpdateAction> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<ValidateCallbackResult> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<VerifySignature> for SerializedBytes

§

type Error = SerializedBytesError

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

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<WeighInput> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<X25519PubKey> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<X25519XSalsa20Poly1305Decrypt> for SerializedBytes

§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<XSalsa20Poly1305Decrypt> for SerializedBytes

§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<XSalsa20Poly1305KeyRef> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<XSalsa20Poly1305Nonce> for SerializedBytes

§

type Error = SerializedBytesError

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

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.
source§

impl TryFrom<ZomeIndex> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl TryFrom<ZomeInfo> for SerializedBytes

§

type Error = SerializedBytesError

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

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

Performs the conversion.
source§

impl Eq for SerializedBytes

source§

impl StructuralPartialEq for SerializedBytes

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

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

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 T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

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

source§

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

source§

impl<Q, K> Comparable<K> for Q
where Q: Ord + ?Sized, K: Borrow<Q> + ?Sized,

source§

fn compare(&self, key: &K) -> Ordering

Compare self to key and return their ordering.
source§

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

source§

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 Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

source§

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

Checks if this value is equivalent to the given key. Read more
source§

impl<Q, K> Equivalent<K> for Q
where 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<Q, K> Equivalent<K> for Q
where 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

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 T
where U: From<T>,

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.

source§

impl<T> LayoutRaw for T

source§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
source§

impl<T> Pointable for T

source§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
source§

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

Initializes a with the given initializer. Read more
source§

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

Dereferences the given pointer. Read more
source§

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

Mutably dereferences the given pointer. Read more
source§

unsafe fn drop(ptr: usize)

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

impl<T> Pointee for T

§

type Metadata = ()

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

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<SS, SP> SupersetOf<SS> for SP
where SS: SubsetOf<SP>,

source§

fn to_subset(&self) -> Option<SS>

The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
source§

fn is_in_subset(&self) -> bool

Checks if self is actually part of its subset T (and can be converted to it).
source§

fn to_subset_unchecked(&self) -> SS

Use with care! Same as self.to_subset but without any property checks. Always succeeds.
source§

fn from_subset(element: &SS) -> SP

The inclusion map: converts self to the equivalent element of its superset.
source§

impl<T> ToOwned for T
where 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 T
where U: Into<T>,

§

type Error = Infallible

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

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

Performs the conversion.
source§

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

§

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

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

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

Performs the conversion.
source§

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

source§

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

upcast ref
source§

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

upcast mut ref
source§

fn upcast_any_box(self: Box<T>) -> Box<dyn Any>

upcast boxed dyn
source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

source§

fn vzip(self) -> V

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 T
where T: for<'de> Deserialize<'de>,