Struct SerializedBytes

Source
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 duplicate 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,

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

impl PartialEq for SerializedBytes

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

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

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

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

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

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

type Error = SerializedBytesError

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

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

Performs the conversion.
Source§

impl TryFrom<&AppEntryDef> for SerializedBytes

Source§

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

Source§

type Error = SerializedBytesError

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

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

Performs the conversion.
Source§

impl TryFrom<&CapClaim> for SerializedBytes

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

type Error = SerializedBytesError

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

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

Performs the conversion.
Source§

impl TryFrom<&Entry> for SerializedBytes

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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,

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

type Error = SerializedBytesError

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

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

Performs the conversion.
Source§

impl TryFrom<&MemoryEntry> for SerializedBytes

Source§

type Error = SerializedBytesError

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

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

Performs the conversion.
Source§

impl TryFrom<&MigrateAgent> for SerializedBytes

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

type Error = SerializedBytesError

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

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

Performs the conversion.
Source§

impl TryFrom<&TypedPath> for SerializedBytes

Source§

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

Source§

type Error = SerializedBytesError

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

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

Performs the conversion.
Source§

impl TryFrom<&UiEntry> for SerializedBytes

Source§

type Error = SerializedBytesError

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

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

Performs the conversion.
Source§

impl TryFrom<&Update> for SerializedBytes

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

type Error = SerializedBytesError

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

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

Performs the conversion.
Source§

impl TryFrom<&WebAppPackageEntry> for SerializedBytes

Source§

type Error = SerializedBytesError

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

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

Performs the conversion.
Source§

impl TryFrom<&WebAppPackageVersionEntry> for SerializedBytes

Source§

type Error = SerializedBytesError

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

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

Performs the conversion.
Source§

impl TryFrom<&WeighInput> for SerializedBytes

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

type Error = SerializedBytesError

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

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

Performs the conversion.
Source§

impl TryFrom<&ZomeCallResponse> for SerializedBytes

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

type Error = SerializedBytesError

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

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

Performs the conversion.
Source§

impl TryFrom<AppEntryDef> for SerializedBytes

Source§

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

Source§

type Error = SerializedBytesError

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

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

Performs the conversion.
Source§

impl TryFrom<CapClaim> for SerializedBytes

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

type Error = SerializedBytesError

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

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

Performs the conversion.
Source§

impl TryFrom<Entry> for SerializedBytes

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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,

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

type Error = SerializedBytesError

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

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

Performs the conversion.
Source§

impl TryFrom<MemoryEntry> for SerializedBytes

Source§

type Error = SerializedBytesError

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

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

Performs the conversion.
Source§

impl TryFrom<MigrateAgent> for SerializedBytes

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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 ()

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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 AppEntry

Source§

type Error = SerializedBytesError

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

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

Performs the conversion.
Source§

impl TryFrom<SerializedBytes> for AppEntryBytes

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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 CloseChain

Source§

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

Source§

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

Source§

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

Source§

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

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

Source§

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

Source§

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

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

Source§

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

Source§

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

Source§

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

Source§

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 DnaEntry

Source§

type Error = SerializedBytesError

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

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

Performs the conversion.
Source§

impl TryFrom<SerializedBytes> for Entry

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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,

Source§

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

Source§

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

Source§

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

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

Source§

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

Source§

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

Source§

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

Source§

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 MemoryBlockEntry

Source§

type Error = SerializedBytesError

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

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

Performs the conversion.
Source§

impl TryFrom<SerializedBytes> for MemoryEntry

Source§

type Error = SerializedBytesError

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

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

Performs the conversion.
Source§

impl TryFrom<SerializedBytes> for MigrateAgent

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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 ChainQueryFilter

Source§

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 RateWeight

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

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

Source§

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

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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 UiEntry

Source§

type Error = SerializedBytesError

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

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

Performs the conversion.
Source§

impl TryFrom<SerializedBytes> for Update

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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 WebAppEntry

Source§

type Error = SerializedBytesError

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

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

Performs the conversion.
Source§

impl TryFrom<SerializedBytes> for WebAppPackageEntry

Source§

type Error = SerializedBytesError

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

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

Performs the conversion.
Source§

impl TryFrom<SerializedBytes> for WebAppPackageVersionEntry

Source§

type Error = SerializedBytesError

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

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

Performs the conversion.
Source§

impl TryFrom<SerializedBytes> for WeighInput

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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 YamlProperties

Source§

type Error = SerializedBytesError

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

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

Performs the conversion.
Source§

impl TryFrom<SerializedBytes> for ZomeCallResponse

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

type Error = SerializedBytesError

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

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

Performs the conversion.
Source§

impl TryFrom<TypedPath> for SerializedBytes

Source§

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

Source§

type Error = SerializedBytesError

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

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

Performs the conversion.
Source§

impl TryFrom<UiEntry> for SerializedBytes

Source§

type Error = SerializedBytesError

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

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

Performs the conversion.
Source§

impl TryFrom<Update> for SerializedBytes

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

type Error = SerializedBytesError

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

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

Performs the conversion.
Source§

impl TryFrom<WebAppPackageEntry> for SerializedBytes

Source§

type Error = SerializedBytesError

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

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

Performs the conversion.
Source§

impl TryFrom<WebAppPackageVersionEntry> for SerializedBytes

Source§

type Error = SerializedBytesError

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

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

Performs the conversion.
Source§

impl TryFrom<WeighInput> for SerializedBytes

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

type Error = SerializedBytesError

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

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

Performs the conversion.
Source§

impl TryFrom<ZomeCallResponse> for SerializedBytes

Source§

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

Source§

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

Source§

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

Source§

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<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
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<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<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> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
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.
Source§

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

Source§

type Metadata = ()

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

impl<T> Same for T

Source§

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,

Source§

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>,

Source§

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>,

Source§

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>,

Source§

impl<T> ErasedDestructor for T
where T: 'static,