diff --git a/rust/oasis_contract_sdk/context/trait.Context.html b/rust/oasis_contract_sdk/context/trait.Context.html index 98a1cae1c1..38cb4f5271 100644 --- a/rust/oasis_contract_sdk/context/trait.Context.html +++ b/rust/oasis_contract_sdk/context/trait.Context.html @@ -4,13 +4,13 @@ type Env: Env + Crypto; // Required methods - fn instance_id(&self) -> InstanceId; - fn instance_address(&self) -> &Address; - fn caller_address(&self) -> &Address; - fn deposited_tokens(&self) -> &[BaseUnits]; + fn instance_id(&self) -> InstanceId; + fn instance_address(&self) -> &Address; + fn caller_address(&self) -> &Address; + fn deposited_tokens(&self) -> &[BaseUnits]; fn is_read_only(&self) -> bool; - fn call_format(&self) -> CallFormat; - fn emit_message(&mut self, msg: Message); + fn call_format(&self) -> CallFormat; + fn emit_message(&mut self, msg: Message); fn emit_event<E: Event>(&mut self, event: E); fn public_store(&mut self) -> &mut Self::PublicStore; fn confidential_store(&mut self) -> &mut Self::ConfidentialStore; @@ -19,13 +19,13 @@

Required Associated Types§

source

type PublicStore: PublicStore

The public store.

source

type ConfidentialStore: ConfidentialStore

The confidential store.

source

type Env: Env + Crypto

The environment.

-

Required Methods§

source

fn instance_id(&self) -> InstanceId

Contract instance identifier.

-
source

fn instance_address(&self) -> &Address

Contract instance address.

-
source

fn caller_address(&self) -> &Address

Caller address.

-
source

fn deposited_tokens(&self) -> &[BaseUnits]

Tokens deposited by the caller.

+

Required Methods§

source

fn instance_id(&self) -> InstanceId

Contract instance identifier.

+
source

fn instance_address(&self) -> &Address

Contract instance address.

+
source

fn caller_address(&self) -> &Address

Caller address.

+
source

fn deposited_tokens(&self) -> &[BaseUnits]

Tokens deposited by the caller.

source

fn is_read_only(&self) -> bool

Whether the call is read-only and must not make any storage modifications.

-
source

fn call_format(&self) -> CallFormat

Call format.

-
source

fn emit_message(&mut self, msg: Message)

Emits a message.

+
source

fn call_format(&self) -> CallFormat

Call format.

+
source

fn emit_message(&mut self, msg: Message)

Emits a message.

source

fn emit_event<E: Event>(&mut self, event: E)

Emits an event.

source

fn public_store(&mut self) -> &mut Self::PublicStore

Public contract store.

source

fn confidential_store(&mut self) -> &mut Self::ConfidentialStore

Confidential contract store.

diff --git a/rust/oasis_contract_sdk/contract/trait.Contract.html b/rust/oasis_contract_sdk/contract/trait.Contract.html index bc73b87a07..580c9d9d07 100644 --- a/rust/oasis_contract_sdk/contract/trait.Contract.html +++ b/rust/oasis_contract_sdk/contract/trait.Contract.html @@ -20,7 +20,7 @@ ) -> Result<(), Self::Error> { ... } fn handle_reply<C: Context>( _ctx: &mut C, - _reply: Reply, + _reply: Reply, ) -> Result<Option<Self::Response>, Self::Error> { ... } fn pre_upgrade<C: Context>( _ctx: &mut C, @@ -48,7 +48,7 @@ ) -> Result<(), Self::Error>

Instantiate the contract.

source

fn handle_reply<C: Context>( _ctx: &mut C, - _reply: Reply, + _reply: Reply, ) -> Result<Option<Self::Response>, Self::Error>

Handle replies from sent messages.

source

fn pre_upgrade<C: Context>( _ctx: &mut C, diff --git a/rust/oasis_contract_sdk/env/trait.Env.html b/rust/oasis_contract_sdk/env/trait.Env.html index a8b9545573..ce34e9a207 100644 --- a/rust/oasis_contract_sdk/env/trait.Env.html +++ b/rust/oasis_contract_sdk/env/trait.Env.html @@ -1,10 +1,10 @@ Env in oasis_contract_sdk::env - Rust

Trait oasis_contract_sdk::env::Env

source ·
pub trait Env {
     // Required methods
-    fn query<Q: Into<QueryRequest>>(&self, query: Q) -> QueryResponse;
-    fn address_for_instance(&self, instance_id: InstanceId) -> Address;
+    fn query<Q: Into<QueryRequest>>(&self, query: Q) -> QueryResponse;
+    fn address_for_instance(&self, instance_id: InstanceId) -> Address;
     fn debug_print(&self, msg: &str);
 }
Expand description

Environment query trait.

-

Required Methods§

source

fn query<Q: Into<QueryRequest>>(&self, query: Q) -> QueryResponse

Perform an environment query.

-
source

fn address_for_instance(&self, instance_id: InstanceId) -> Address

Returns an address for the contract instance id.

+

Required Methods§

source

fn query<Q: Into<QueryRequest>>(&self, query: Q) -> QueryResponse

Perform an environment query.

+
source

fn address_for_instance(&self, instance_id: InstanceId) -> Address

Returns an address for the contract instance id.

source

fn debug_print(&self, msg: &str)

Prints a message to the console. Useful when debugging.

Object Safety§

This trait is not object safe.

Implementors§

\ No newline at end of file diff --git a/rust/oasis_contract_sdk/error/trait.Error.html b/rust/oasis_contract_sdk/error/trait.Error.html index 419a257745..254ba1d586 100644 --- a/rust/oasis_contract_sdk/error/trait.Error.html +++ b/rust/oasis_contract_sdk/error/trait.Error.html @@ -4,7 +4,7 @@ fn code(&self) -> u32; // Provided method - fn to_execution_result(&self) -> ExecutionResult { ... } + fn to_execution_result(&self) -> ExecutionResult { ... } }
Expand description

A contract error that gets propagated to the caller.

It extends std::error::Error with module name and error code so that errors can be easily serialized and transferred between different processes.

@@ -22,5 +22,5 @@ }

Required Methods§

source

fn module_name(&self) -> &str

Name of the module that emitted the error.

source

fn code(&self) -> u32

Error code uniquely identifying the error.

-

Provided Methods§

source

fn to_execution_result(&self) -> ExecutionResult

Converts the error into an execution result.

+

Provided Methods§

source

fn to_execution_result(&self) -> ExecutionResult

Converts the error into an execution result.

Implementations on Foreign Types§

source§

impl Error for Infallible

source§

fn module_name(&self) -> &str

source§

fn code(&self) -> u32

Implementors§

\ No newline at end of file diff --git a/rust/oasis_contract_sdk/event/trait.Event.html b/rust/oasis_contract_sdk/event/trait.Event.html index 3778ed08bc..b6d6e7f547 100644 --- a/rust/oasis_contract_sdk/event/trait.Event.html +++ b/rust/oasis_contract_sdk/event/trait.Event.html @@ -4,7 +4,7 @@ fn code(&self) -> u32; // Provided method - fn into_raw(self) -> Event { ... } + fn into_raw(self) -> Event { ... } }
Expand description

An event emitted by the contract.

This trait can be derived:

@@ -21,5 +21,5 @@ }

Required Methods§

source

fn module_name(&self) -> &str

Name of the module that emitted the event.

source

fn code(&self) -> u32

Code uniquely identifying the event.

-

Provided Methods§

source

fn into_raw(self) -> Event

Converts an event into the raw event type that can be emitted from the contract.

-

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Event for Event

source§

fn module_name(&self) -> &str

source§

fn code(&self) -> u32

source§

fn into_raw(self) -> Event

Implementors§

\ No newline at end of file +

Provided Methods§

source

fn into_raw(self) -> Event

Converts an event into the raw event type that can be emitted from the contract.

+

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Event for Event

source§

fn module_name(&self) -> &str

source§

fn code(&self) -> u32

source§

fn into_raw(self) -> Event

Implementors§

\ No newline at end of file diff --git a/rust/oasis_contract_sdk/index.html b/rust/oasis_contract_sdk/index.html index 0d1619c4d6..81300ca36d 100644 --- a/rust/oasis_contract_sdk/index.html +++ b/rust/oasis_contract_sdk/index.html @@ -1,2 +1,2 @@ oasis_contract_sdk - Rust

Crate oasis_contract_sdk

source ·
Expand description

Oasis Contract SDK.

-

Re-exports§

  • pub use self::context::Context;
  • pub use self::contract::Contract;
  • pub use self::error::Error;
  • pub use self::event::Event;
  • pub use oasis_contract_sdk_types as types;
  • pub use cbor;

Modules§

  • Contract execution context.
  • The contract trait.
  • Smart contract environment query interface.
  • Contract error trait.
  • Contract event trait.
  • Memory management.
  • Smart contract storage interface.
  • Utilities for testing smart contracts.

Macros§

Derive Macros§

  • Derives the Error trait on an enum.
  • Derives the Event trait on an enum.
\ No newline at end of file +

Re-exports§

Modules§

Macros§

Derive Macros§

\ No newline at end of file diff --git a/rust/oasis_contract_sdk/testing/struct.MockContext.html b/rust/oasis_contract_sdk/testing/struct.MockContext.html index ecb726aedb..793c1330c7 100644 --- a/rust/oasis_contract_sdk/testing/struct.MockContext.html +++ b/rust/oasis_contract_sdk/testing/struct.MockContext.html @@ -1,18 +1,18 @@ MockContext in oasis_contract_sdk::testing - Rust

Struct oasis_contract_sdk::testing::MockContext

source ·
pub struct MockContext {
-    pub ec: ExecutionContext,
+    pub ec: ExecutionContext,
     pub public_store: MockStore,
     pub confidential_store: MockStore,
     pub env: MockEnv,
-    pub messages: Vec<Message>,
-    pub events: Vec<Event>,
+    pub messages: Vec<Message>,
+    pub events: Vec<Event>,
 }
Expand description

A mock contract context suitable for testing.

-

Fields§

§ec: ExecutionContext

Execution context.

+

Fields§

§ec: ExecutionContext

Execution context.

§public_store: MockStore

Public store.

§confidential_store: MockStore

“Confidential” store.

§env: MockEnv

Environment.

-
§messages: Vec<Message>

Emitted messages.

-
§events: Vec<Event>

Emitted events.

-

Trait Implementations§

source§

impl Context for MockContext

§

type PublicStore = MockStore

The public store.
§

type ConfidentialStore = MockStore

The confidential store.
§

type Env = MockEnv

The environment.
source§

fn instance_id(&self) -> InstanceId

Contract instance identifier.
source§

fn instance_address(&self) -> &Address

Contract instance address.
source§

fn caller_address(&self) -> &Address

Caller address.
source§

fn deposited_tokens(&self) -> &[BaseUnits]

Tokens deposited by the caller.
source§

fn is_read_only(&self) -> bool

Whether the call is read-only and must not make any storage modifications.
source§

fn call_format(&self) -> CallFormat

Call format.
source§

fn emit_message(&mut self, msg: Message)

Emits a message.
source§

fn emit_event<E: Event>(&mut self, event: E)

Emits an event.
source§

fn public_store(&mut self) -> &mut Self::PublicStore

Public contract store.
source§

fn confidential_store(&mut self) -> &mut Self::ConfidentialStore

Confidential contract store.
source§

fn env(&self) -> &Self::Env

Environment.
source§

impl From<ExecutionContext> for MockContext

source§

fn from(ec: ExecutionContext) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +
§messages: Vec<Message>

Emitted messages.

+
§events: Vec<Event>

Emitted events.

+

Trait Implementations§

source§

impl Context for MockContext

§

type PublicStore = MockStore

The public store.
§

type ConfidentialStore = MockStore

The confidential store.
§

type Env = MockEnv

The environment.
source§

fn instance_id(&self) -> InstanceId

Contract instance identifier.
source§

fn instance_address(&self) -> &Address

Contract instance address.
source§

fn caller_address(&self) -> &Address

Caller address.
source§

fn deposited_tokens(&self) -> &[BaseUnits]

Tokens deposited by the caller.
source§

fn is_read_only(&self) -> bool

Whether the call is read-only and must not make any storage modifications.
source§

fn call_format(&self) -> CallFormat

Call format.
source§

fn emit_message(&mut self, msg: Message)

Emits a message.
source§

fn emit_event<E: Event>(&mut self, event: E)

Emits an event.
source§

fn public_store(&mut self) -> &mut Self::PublicStore

Public contract store.
source§

fn confidential_store(&mut self) -> &mut Self::ConfidentialStore

Confidential contract store.
source§

fn env(&self) -> &Self::Env

Environment.
source§

impl From<ExecutionContext> for MockContext

source§

fn from(ec: ExecutionContext) -> Self

Converts to this type from the input type.

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
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

§

fn implicit( diff --git a/rust/oasis_contract_sdk/testing/struct.MockEnv.html b/rust/oasis_contract_sdk/testing/struct.MockEnv.html index 138ce75a23..f5b1b7bc32 100644 --- a/rust/oasis_contract_sdk/testing/struct.MockEnv.html +++ b/rust/oasis_contract_sdk/testing/struct.MockEnv.html @@ -34,7 +34,7 @@ additional_data: &[u8], ) -> Result<Vec<u8>, CryptoError>

Decrypt and authenticate a message and authenticate additional data using DeoxysII.
source§

fn random_bytes(&self, _pers: &[u8], dst: &mut [u8]) -> usize

Fills dst with cryptographically secure random bytes. Returns the number of bytes written. -If the optional personalization string (pers) is provided, it will be mixed into the RNG to provide additional domain separation.
source§

impl Default for MockEnv

source§

fn default() -> Self

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

impl Env for MockEnv

source§

fn query<Q: Into<QueryRequest>>(&self, query: Q) -> QueryResponse

Perform an environment query.
source§

fn address_for_instance(&self, instance_id: InstanceId) -> Address

Returns an address for the contract instance id.
source§

fn debug_print(&self, msg: &str)

Prints a message to the console. Useful when debugging.

Auto Trait Implementations§

§

impl Freeze for MockEnv

§

impl RefUnwindSafe for MockEnv

§

impl Send for MockEnv

§

impl Sync for MockEnv

§

impl Unpin for MockEnv

§

impl UnwindSafe for MockEnv

Blanket Implementations§

source§

impl<T> Any for T
where +If the optional personalization string (pers) is provided, it will be mixed into the RNG to provide additional domain separation.

source§

impl Default for MockEnv

source§

fn default() -> Self

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

impl Env for MockEnv

source§

fn query<Q: Into<QueryRequest>>(&self, query: Q) -> QueryResponse

Perform an environment query.
source§

fn address_for_instance(&self, instance_id: InstanceId) -> Address

Returns an address for the contract instance id.
source§

fn debug_print(&self, msg: &str)

Prints a message to the console. Useful when debugging.

Auto Trait Implementations§

§

impl Freeze for MockEnv

§

impl RefUnwindSafe for MockEnv

§

impl Send for MockEnv

§

impl Sync for MockEnv

§

impl Unpin for MockEnv

§

impl UnwindSafe for MockEnv

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
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

§

fn implicit( diff --git a/rust/oasis_contract_sdk_storage/map/trait.MapKey.html b/rust/oasis_contract_sdk_storage/map/trait.MapKey.html index 2ea23938d6..e1bf95cbf1 100644 --- a/rust/oasis_contract_sdk_storage/map/trait.MapKey.html +++ b/rust/oasis_contract_sdk_storage/map/trait.MapKey.html @@ -3,7 +3,7 @@ fn key(&self) -> Vec<&[u8]>; }
Expand description

A trait for types which can be used as map keys.

Required Methods§

source

fn key(&self) -> Vec<&[u8]>

Return the composite key.

-

Implementations on Foreign Types§

source§

impl MapKey for &str

source§

fn key(&self) -> Vec<&[u8]>

source§

impl MapKey for &[u8]

source§

fn key(&self) -> Vec<&[u8]>

source§

impl MapKey for String

source§

fn key(&self) -> Vec<&[u8]>

source§

impl MapKey for Vec<u8>

source§

fn key(&self) -> Vec<&[u8]>

source§

impl MapKey for Address

source§

fn key(&self) -> Vec<&[u8]>

source§

impl<T, U> MapKey for (T, U)
where +

Implementations on Foreign Types§

source§

impl MapKey for &str

source§

fn key(&self) -> Vec<&[u8]>

source§

impl MapKey for &[u8]

source§

fn key(&self) -> Vec<&[u8]>

source§

impl MapKey for Address

source§

fn key(&self) -> Vec<&[u8]>

source§

impl MapKey for String

source§

fn key(&self) -> Vec<&[u8]>

source§

impl MapKey for Vec<u8>

source§

fn key(&self) -> Vec<&[u8]>

source§

impl<T, U> MapKey for (T, U)
where T: MapKey, U: MapKey,

source§

fn key(&self) -> Vec<&[u8]>

source§

impl<T, U, V> MapKey for (T, U, V)
where T: MapKey, diff --git a/rust/oasis_contract_sdk_types/address/struct.Address.html b/rust/oasis_contract_sdk_types/address/struct.Address.html index 60d4cbc871..7b876dada6 100644 --- a/rust/oasis_contract_sdk_types/address/struct.Address.html +++ b/rust/oasis_contract_sdk_types/address/struct.Address.html @@ -5,7 +5,7 @@

source

pub fn to_bech32(self) -> String

Converts an address to Bech32 representation.

Trait Implementations§

source§

impl AsRef<[u8]> for Address

source§

fn as_ref(&self) -> &[u8]

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

impl Clone for Address

source§

fn clone(&self) -> Address

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

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

Performs copy-assignment from source. Read more
source§

impl Debug for Address

source§

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

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

impl Decode for Address

source§

fn try_default() -> Result<Self, DecodeError>

Try to decode from a missing/null/undefined value.
source§

fn try_from_cbor_value(value: Value) -> Result<Self, DecodeError>

Try to decode from a given CBOR value.
§

fn try_from_cbor_value_default(value: Value) -> Result<Self, DecodeError>
where Self: Sized,

Try to decode from a given CBOR value, calling try_default in case the value is null or -undefined.
source§

impl Default for Address

source§

fn default() -> Address

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

impl Encode for Address

source§

fn into_cbor_value(self) -> Value

Encode the type into a CBOR Value.
§

fn is_empty(&self) -> bool

Whether the value is equal to the empty value for the type.
source§

impl From<Address> for Address

source§

fn from(a: Address) -> Self

Converts to this type from the input type.
source§

impl From<Address> for Address

source§

fn from(a: Address) -> Self

Converts to this type from the input type.
source§

impl Ord for Address

source§

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

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

fn max(self, other: Self) -> Self
where +undefined.

source§

impl Default for Address

source§

fn default() -> Address

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

impl Encode for Address

source§

fn into_cbor_value(self) -> Value

Encode the type into a CBOR Value.
§

fn is_empty(&self) -> bool

Whether the value is equal to the empty value for the type.
source§

impl From<Address> for Address

source§

fn from(a: Address) -> Self

Converts to this type from the input type.
source§

impl From<Address> for Address

source§

fn from(a: Address) -> Self

Converts to this type from the input type.
source§

impl Ord for Address

source§

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

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

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

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

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

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

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

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

impl PartialEq for Address

source§

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

This method tests for self and other values to be equal, and is used diff --git a/rust/oasis_contract_sdk_types/enum.CallFormat.html b/rust/oasis_contract_sdk_types/enum.CallFormat.html index 45c73d06a3..e861876081 100644 --- a/rust/oasis_contract_sdk_types/enum.CallFormat.html +++ b/rust/oasis_contract_sdk_types/enum.CallFormat.html @@ -6,7 +6,7 @@
§

EncryptedX25519DeoxysII = 1

Encrypted call data using X25519 for key exchange and Deoxys-II for symmetric encryption.

Trait Implementations§

source§

impl Clone for CallFormat

source§

fn clone(&self) -> CallFormat

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

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

Performs copy-assignment from source. Read more
source§

impl Debug for CallFormat

source§

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

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

impl Decode for CallFormat

source§

fn try_default() -> Result<Self, DecodeError>

Try to decode from a missing/null/undefined value.
source§

fn try_from_cbor_value(value: Value) -> Result<Self, DecodeError>

Try to decode from a given CBOR value.
§

fn try_from_cbor_value_default(value: Value) -> Result<Self, DecodeError>
where Self: Sized,

Try to decode from a given CBOR value, calling try_default in case the value is null or -undefined.
source§

impl Default for CallFormat

source§

fn default() -> Self

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

impl Encode for CallFormat

source§

fn into_cbor_value(self) -> Value

Encode the type into a CBOR Value.
§

fn is_empty(&self) -> bool

Whether the value is equal to the empty value for the type.
source§

impl From<CallFormat> for CallFormat

source§

fn from(a: CallFormat) -> Self

Converts to this type from the input type.
source§

impl PartialEq for CallFormat

source§

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

This method tests for self and other values to be equal, and is used +undefined.
source§

impl Default for CallFormat

source§

fn default() -> Self

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

impl Encode for CallFormat

source§

fn into_cbor_value(self) -> Value

Encode the type into a CBOR Value.
§

fn is_empty(&self) -> bool

Whether the value is equal to the empty value for the type.
source§

impl From<CallFormat> for CallFormat

source§

fn from(a: CallFormat) -> Self

Converts to this type from the input type.
source§

impl PartialEq for CallFormat

source§

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

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

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

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

impl Copy for CallFormat

source§

impl Eq for CallFormat

source§

impl StructuralPartialEq for CallFormat

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
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where diff --git a/rust/oasis_contract_sdk_types/message/enum.CallResult.html b/rust/oasis_contract_sdk_types/message/enum.CallResult.html index 90b46e6415..dcfa0a2939 100644 --- a/rust/oasis_contract_sdk_types/message/enum.CallResult.html +++ b/rust/oasis_contract_sdk_types/message/enum.CallResult.html @@ -11,7 +11,7 @@ Self: Sized,

Try to decode from a given CBOR value, calling try_default in case the value is null or undefined.
source§

impl Encode for CallResult

source§

fn into_cbor_value(self) -> Value

Encode the type into a CBOR Value.
§

fn is_empty(&self) -> bool

Whether the value is equal to the empty value for the type.
source§

impl EncodeAsMap for CallResult

§

fn into_cbor_value_map(self) -> Value
where Self: Sized,

Encode the type into a CBOR Map.
§

fn into_cbor_map(self) -> Vec<(Value, Value)>
where - Self: Sized,

Encode the type into a CBOR Map, returning the map items.
source§

impl From<CallResult> for CallResult

source§

fn from(r: CallResult) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl Freeze for CallResult

§

impl RefUnwindSafe for CallResult

§

impl Send for CallResult

§

impl Sync for CallResult

§

impl Unpin for CallResult

§

impl UnwindSafe for CallResult

Blanket Implementations§

source§

impl<T> Any for T
where + Self: Sized,

Encode the type into a CBOR Map, returning the map items.
source§

impl From<CallResult> for CallResult

source§

fn from(r: CallResult) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl Freeze for CallResult

§

impl RefUnwindSafe for CallResult

§

impl Send for CallResult

§

impl Sync for CallResult

§

impl Unpin for CallResult

§

impl UnwindSafe for CallResult

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
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

§

fn implicit( diff --git a/rust/oasis_contract_sdk_types/token/struct.BaseUnits.html b/rust/oasis_contract_sdk_types/token/struct.BaseUnits.html index 662678157b..744f71bfd6 100644 --- a/rust/oasis_contract_sdk_types/token/struct.BaseUnits.html +++ b/rust/oasis_contract_sdk_types/token/struct.BaseUnits.html @@ -4,7 +4,7 @@

source

pub fn denomination(&self) -> &Denomination

Denomination of the token amount.

Trait Implementations§

source§

impl Clone for BaseUnits

source§

fn clone(&self) -> BaseUnits

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

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

Performs copy-assignment from source. Read more
source§

impl Debug for BaseUnits

source§

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

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

impl Decode for BaseUnits

source§

fn try_default() -> Result<Self, DecodeError>

Try to decode from a missing/null/undefined value.
source§

fn try_from_cbor_value(value: Value) -> Result<Self, DecodeError>

Try to decode from a given CBOR value.
§

fn try_from_cbor_value_default(value: Value) -> Result<Self, DecodeError>
where Self: Sized,

Try to decode from a given CBOR value, calling try_default in case the value is null or -undefined.
source§

impl Default for BaseUnits

source§

fn default() -> BaseUnits

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

impl Display for BaseUnits

source§

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

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

impl Encode for BaseUnits

source§

fn into_cbor_value(self) -> Value

Encode the type into a CBOR Value.
§

fn is_empty(&self) -> bool

Whether the value is equal to the empty value for the type.
source§

impl From<&BaseUnits> for BaseUnits

source§

fn from(a: &BaseUnits) -> Self

Converts to this type from the input type.
source§

impl From<BaseUnits> for BaseUnits

source§

fn from(a: BaseUnits) -> Self

Converts to this type from the input type.
source§

impl Ord for BaseUnits

source§

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

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

fn max(self, other: Self) -> Self
where +undefined.

source§

impl Default for BaseUnits

source§

fn default() -> BaseUnits

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

impl Display for BaseUnits

source§

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

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

impl Encode for BaseUnits

source§

fn into_cbor_value(self) -> Value

Encode the type into a CBOR Value.
§

fn is_empty(&self) -> bool

Whether the value is equal to the empty value for the type.
source§

impl From<&BaseUnits> for BaseUnits

source§

fn from(a: &BaseUnits) -> Self

Converts to this type from the input type.
source§

impl From<BaseUnits> for BaseUnits

source§

fn from(a: BaseUnits) -> Self

Converts to this type from the input type.
source§

impl Ord for BaseUnits

source§

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

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

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

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

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

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

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

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

impl PartialEq for BaseUnits

source§

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

This method tests for self and other values to be equal, and is used diff --git a/rust/oasis_contract_sdk_types/token/struct.Denomination.html b/rust/oasis_contract_sdk_types/token/struct.Denomination.html index 1446a235e4..d095a519c8 100644 --- a/rust/oasis_contract_sdk_types/token/struct.Denomination.html +++ b/rust/oasis_contract_sdk_types/token/struct.Denomination.html @@ -5,7 +5,7 @@
source

pub fn into_vec(self) -> Vec<u8>

Raw representation of a denomination.

Trait Implementations§

source§

impl AsRef<[u8]> for Denomination

source§

fn as_ref(&self) -> &[u8]

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

impl Clone for Denomination

source§

fn clone(&self) -> Denomination

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

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

Performs copy-assignment from source. Read more
source§

impl Debug for Denomination

source§

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

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

impl Decode for Denomination

source§

fn try_default() -> Result<Self, DecodeError>

Try to decode from a missing/null/undefined value.
source§

fn try_from_cbor_value(value: Value) -> Result<Self, DecodeError>

Try to decode from a given CBOR value.
§

fn try_from_cbor_value_default(value: Value) -> Result<Self, DecodeError>
where Self: Sized,

Try to decode from a given CBOR value, calling try_default in case the value is null or -undefined.
source§

impl Default for Denomination

source§

fn default() -> Denomination

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

impl Display for Denomination

source§

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

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

impl Encode for Denomination

source§

fn into_cbor_value(self) -> Value

Encode the type into a CBOR Value.
§

fn is_empty(&self) -> bool

Whether the value is equal to the empty value for the type.
source§

impl From<Denomination> for Denomination

source§

fn from(d: Denomination) -> Self

Converts to this type from the input type.
source§

impl From<Denomination> for Denomination

source§

fn from(d: Denomination) -> Self

Converts to this type from the input type.
source§

impl FromStr for Denomination

§

type Err = Error

The associated error which can be returned from parsing.
source§

fn from_str(v: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Ord for Denomination

source§

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

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

fn max(self, other: Self) -> Self
where +undefined.

source§

impl Default for Denomination

source§

fn default() -> Denomination

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

impl Display for Denomination

source§

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

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

impl Encode for Denomination

source§

fn into_cbor_value(self) -> Value

Encode the type into a CBOR Value.
§

fn is_empty(&self) -> bool

Whether the value is equal to the empty value for the type.
source§

impl From<Denomination> for Denomination

source§

fn from(d: Denomination) -> Self

Converts to this type from the input type.
source§

impl From<Denomination> for Denomination

source§

fn from(d: Denomination) -> Self

Converts to this type from the input type.
source§

impl FromStr for Denomination

§

type Err = Error

The associated error which can be returned from parsing.
source§

fn from_str(v: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Ord for Denomination

source§

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

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

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

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

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

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

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

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

impl PartialEq for Denomination

source§

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

This method tests for self and other values to be equal, and is used diff --git a/rust/oasis_runtime_sdk_contracts/types/struct.CodeId.html b/rust/oasis_runtime_sdk_contracts/types/struct.CodeId.html index 519e16f3c2..f3a8be266a 100644 --- a/rust/oasis_runtime_sdk_contracts/types/struct.CodeId.html +++ b/rust/oasis_runtime_sdk_contracts/types/struct.CodeId.html @@ -1,12 +1,12 @@ -CodeId in oasis_runtime_sdk_contracts::types - Rust

Struct oasis_runtime_sdk_contracts::types::CodeId

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

Unique stored code identifier.

-

Implementations§

§

impl CodeId

pub fn as_u64(&self) -> u64

Convert identifier to u64.

-

pub fn increment(&self) -> CodeId

Return the next identifier in sequence.

-

pub fn to_storage_key(self) -> [u8; 8]

Convert identifier to storage key representation.

-

Trait Implementations§

§

impl Clone for CodeId

§

fn clone(&self) -> CodeId

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

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

Performs copy-assignment from source. Read more
§

impl Debug for CodeId

§

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

Formats the value using the given formatter. Read more
§

impl Decode for CodeId

§

fn try_default() -> Result<CodeId, DecodeError>

Try to decode from a missing/null/undefined value.
§

fn try_from_cbor_value(value: Value) -> Result<CodeId, DecodeError>

Try to decode from a given CBOR value.
§

fn try_from_cbor_value_default(value: Value) -> Result<Self, DecodeError>
where +CodeId in oasis_runtime_sdk_contracts::types - Rust

Struct oasis_runtime_sdk_contracts::types::CodeId

source ·
pub struct CodeId(/* private fields */);
Expand description

Unique stored code identifier.

+

Implementations§

source§

impl CodeId

source

pub fn as_u64(&self) -> u64

Convert identifier to u64.

+
source

pub fn increment(&self) -> CodeId

Return the next identifier in sequence.

+
source

pub fn to_storage_key(self) -> [u8; 8]

Convert identifier to storage key representation.

+

Trait Implementations§

source§

impl Clone for CodeId

source§

fn clone(&self) -> CodeId

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

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

Performs copy-assignment from source. Read more
source§

impl Debug for CodeId

source§

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

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

impl Decode for CodeId

source§

fn try_default() -> Result<CodeId, DecodeError>

Try to decode from a missing/null/undefined value.
source§

fn try_from_cbor_value(value: Value) -> Result<CodeId, DecodeError>

Try to decode from a given CBOR value.
§

fn try_from_cbor_value_default(value: Value) -> Result<Self, DecodeError>
where Self: Sized,

Try to decode from a given CBOR value, calling try_default in case the value is null or -undefined.
§

impl Default for CodeId

§

fn default() -> CodeId

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

impl Encode for CodeId

§

fn into_cbor_value(self) -> Value

Encode the type into a CBOR Value.
§

fn is_empty(&self) -> bool

Whether the value is equal to the empty value for the type.
§

impl From<u64> for CodeId

§

fn from(v: u64) -> CodeId

Converts to this type from the input type.
§

impl PartialEq for CodeId

§

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

This method tests for self and other values to be equal, and is used +undefined.
source§

impl Default for CodeId

source§

fn default() -> CodeId

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

impl Encode for CodeId

source§

fn into_cbor_value(self) -> Value

Encode the type into a CBOR Value.
§

fn is_empty(&self) -> bool

Whether the value is equal to the empty value for the type.
source§

impl From<u64> for CodeId

source§

fn from(v: u64) -> CodeId

Converts to this type from the input type.
source§

impl PartialEq for CodeId

source§

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

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

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

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

impl Copy for CodeId

§

impl Eq for CodeId

§

impl StructuralPartialEq for CodeId

Auto Trait Implementations§

§

impl Freeze for CodeId

§

impl RefUnwindSafe for CodeId

§

impl Send for CodeId

§

impl Sync for CodeId

§

impl Unpin for CodeId

§

impl UnwindSafe for CodeId

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl Copy for CodeId

source§

impl Eq for CodeId

source§

impl StructuralPartialEq for CodeId

Auto Trait Implementations§

§

impl Freeze for CodeId

§

impl RefUnwindSafe for CodeId

§

impl Send for CodeId

§

impl Sync for CodeId

§

impl Unpin for CodeId

§

impl UnwindSafe for CodeId

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
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

§

fn implicit( diff --git a/rust/oasis_runtime_sdk_contracts/types/struct.InstanceId.html b/rust/oasis_runtime_sdk_contracts/types/struct.InstanceId.html index cc366bccf1..015fb41fbf 100644 --- a/rust/oasis_runtime_sdk_contracts/types/struct.InstanceId.html +++ b/rust/oasis_runtime_sdk_contracts/types/struct.InstanceId.html @@ -1,12 +1,12 @@ -InstanceId in oasis_runtime_sdk_contracts::types - Rust

Struct oasis_runtime_sdk_contracts::types::InstanceId

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

Unique deployed code instance identifier.

-

Implementations§

§

impl InstanceId

pub fn as_u64(&self) -> u64

Convert identifier to u64.

-

pub fn increment(&self) -> InstanceId

Return the next identifier in sequence.

-

pub fn to_storage_key(self) -> [u8; 8]

Convert identifier to storage key representation.

-

Trait Implementations§

§

impl Clone for InstanceId

§

fn clone(&self) -> InstanceId

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

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

Performs copy-assignment from source. Read more
§

impl Debug for InstanceId

§

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

Formats the value using the given formatter. Read more
§

impl Decode for InstanceId

§

fn try_default() -> Result<InstanceId, DecodeError>

Try to decode from a missing/null/undefined value.
§

fn try_from_cbor_value(value: Value) -> Result<InstanceId, DecodeError>

Try to decode from a given CBOR value.
§

fn try_from_cbor_value_default(value: Value) -> Result<Self, DecodeError>
where +InstanceId in oasis_runtime_sdk_contracts::types - Rust

Struct oasis_runtime_sdk_contracts::types::InstanceId

source ·
pub struct InstanceId(/* private fields */);
Expand description

Unique deployed code instance identifier.

+

Implementations§

source§

impl InstanceId

source

pub fn as_u64(&self) -> u64

Convert identifier to u64.

+
source

pub fn increment(&self) -> InstanceId

Return the next identifier in sequence.

+
source

pub fn to_storage_key(self) -> [u8; 8]

Convert identifier to storage key representation.

+

Trait Implementations§

source§

impl Clone for InstanceId

source§

fn clone(&self) -> InstanceId

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

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

Performs copy-assignment from source. Read more
source§

impl Debug for InstanceId

source§

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

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

impl Decode for InstanceId

source§

fn try_default() -> Result<InstanceId, DecodeError>

Try to decode from a missing/null/undefined value.
source§

fn try_from_cbor_value(value: Value) -> Result<InstanceId, DecodeError>

Try to decode from a given CBOR value.
§

fn try_from_cbor_value_default(value: Value) -> Result<Self, DecodeError>
where Self: Sized,

Try to decode from a given CBOR value, calling try_default in case the value is null or -undefined.
§

impl Default for InstanceId

§

fn default() -> InstanceId

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

impl Encode for InstanceId

§

fn into_cbor_value(self) -> Value

Encode the type into a CBOR Value.
§

fn is_empty(&self) -> bool

Whether the value is equal to the empty value for the type.
§

impl From<u64> for InstanceId

§

fn from(v: u64) -> InstanceId

Converts to this type from the input type.
§

impl PartialEq for InstanceId

§

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

This method tests for self and other values to be equal, and is used +undefined.
source§

impl Default for InstanceId

source§

fn default() -> InstanceId

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

impl Encode for InstanceId

source§

fn into_cbor_value(self) -> Value

Encode the type into a CBOR Value.
§

fn is_empty(&self) -> bool

Whether the value is equal to the empty value for the type.
source§

impl From<u64> for InstanceId

source§

fn from(v: u64) -> InstanceId

Converts to this type from the input type.
source§

impl PartialEq for InstanceId

source§

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

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

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

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

impl Copy for InstanceId

§

impl Eq for InstanceId

§

impl StructuralPartialEq for InstanceId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl Copy for InstanceId

source§

impl Eq for InstanceId

source§

impl StructuralPartialEq for InstanceId

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
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

§

fn implicit( diff --git a/rust/trait.impl/core/convert/trait.From.js b/rust/trait.impl/core/convert/trait.From.js index ca8612a0e2..fd574cd97c 100644 --- a/rust/trait.impl/core/convert/trait.From.js +++ b/rust/trait.impl/core/convert/trait.From.js @@ -1,7 +1,7 @@ (function() {var implementors = { -"oasis_contract_sdk":[["impl From<ExecutionContext> for MockContext"]], +"oasis_contract_sdk":[["impl From<ExecutionContext> for MockContext"]], "oasis_contract_sdk_storage":[["impl<I: Integer> From<I> for Int<I>"]], -"oasis_contract_sdk_types":[["impl From<&BaseUnits> for BaseUnits"],["impl From<AccountsQuery> for QueryRequest"],["impl From<AccountsResponse> for QueryResponse"],["impl From<CallResult> for CallResult"],["impl From<CallFormat> for CallFormat"],["impl From<u64> for CodeId"],["impl From<u64> for InstanceId"],["impl From<Address> for Address"],["impl From<Denomination> for Denomination"],["impl From<Address> for Address"],["impl From<BaseUnits> for BaseUnits"],["impl From<Denomination> for Denomination"]], +"oasis_contract_sdk_types":[["impl From<&BaseUnits> for BaseUnits"],["impl From<AccountsQuery> for QueryRequest"],["impl From<AccountsResponse> for QueryResponse"],["impl From<u64> for CodeId"],["impl From<u64> for InstanceId"],["impl From<Address> for Address"],["impl From<Denomination> for Denomination"],["impl From<Address> for Address"],["impl From<BaseUnits> for BaseUnits"],["impl From<CallFormat> for CallFormat"],["impl From<CallResult> for CallResult"],["impl From<Denomination> for Denomination"]], "oasis_core_runtime":[["impl From<&'static str> for Hash"],["impl From<&'static str> for PublicKey"],["impl From<&'static str> for Signature"],["impl From<&'static str> for Namespace"],["impl From<&'static str> for MrEnclave"],["impl From<&'static str> for MrSigner"],["impl From<&'static str> for SessionID"],["impl From<&PrivateKey> for PublicKey"],["impl From<&[u8; 21]> for Address"],["impl From<&[u8]> for Hash"],["impl From<&[u8]> for PublicKey"],["impl From<&[u8]> for Signature"],["impl From<&[u8]> for Namespace"],["impl From<&[u8]> for MrEnclave"],["impl From<&[u8]> for MrSigner"],["impl From<&[u8]> for SessionID"],["impl From<StateError> for Error"],["impl From<StateError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<ProtocolError> for Error"],["impl From<u128> for Quantity"],["impl From<u16> for Quantity"],["impl From<u32> for Quantity"],["impl From<u64> for Quantity"],["impl From<u64> for Version"],["impl From<u8> for Quantity"],["impl From<VecDeque<Vec<u8>>> for TxnBatch"],["impl From<Vec<u8>> for Hash"],["impl From<Vec<u8>> for PublicKey"],["impl From<Vec<u8>> for Signature"],["impl From<Vec<u8>> for Namespace"],["impl From<Vec<u8>> for MrEnclave"],["impl From<Vec<u8>> for MrSigner"],["impl From<Vec<u8>> for SessionID"],["impl From<Vec<u8>> for Prefix"],["impl From<Vec<u8>> for RawProofEntry"],["impl From<Vec<u8>> for CoarsenedKey"],["impl From<Vec<Vec<u8>>> for TxnBatch"],["impl From<Error> for StateError"],["impl From<Error> for RpcClientError"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Hash> for [u8; 32]"],["impl From<PublicKey> for [u8; 32]"],["impl From<Signature> for [u8; 64]"],["impl From<PrivateKey> for StaticSecret"],["impl From<PublicKey> for PublicKey"],["impl From<Namespace> for [u8; 32]"],["impl From<MrEnclave> for [u8; 32]"],["impl From<MrSigner> for [u8; 32]"],["impl From<VerifiedQuote> for VerifiedAttestation"],["impl From<VerifiedQuote> for VerifiedEndorsedCapabilityTEE"],["impl From<Version> for u64"],["impl From<Address> for [u8; 21]"],["impl From<VerifiedAttestation> for VerifiedEndorsedCapabilityTEE"],["impl From<LightBlockMeta> for LightBlock"],["impl From<SessionID> for [u8; 32]"],["impl From<Prefix> for Vec<u8>"],["impl From<RawProofEntry> for Vec<u8>"],["impl From<CoarsenedKey> for Vec<u8>"],["impl From<TxnBatch> for VecDeque<Vec<u8>>"],["impl From<TxnBatch> for Vec<Vec<u8>>"],["impl From<Error> for Error"],["impl From<DecodeError> for RpcClientError"],["impl From<DecodeError> for Error"],["impl From<JoinError> for Error"],["impl From<PublicKey> for PublicKey"],["impl From<StaticSecret> for PrivateKey"],["impl From<[u8; 32]> for PrivateKey"],["impl From<[u8; 32]> for PublicKey"],["impl<'a> From<&'a str> for Address"]], "oasis_runtime_sdk":[["impl From<&'static str> for PublicKey"],["impl From<&'static str> for PublicKey"],["impl From<&'static str> for PublicKey"],["impl From<&'static str> for PublicKey"],["impl From<&'static str> for PublicKey"],["impl From<&'static str> for AppId"],["impl From<&'static str> for Address"],["impl From<&Mode> for &'static str"],["impl From<&PublicKey> for PublicKey"],["impl From<StateError> for Error"],["impl From<Error> for Error"],["impl From<Error> for RuntimeError"],["impl From<Error> for Error"],["impl From<Error> for RuntimeError"],["impl From<CallResult> for CallResult"],["impl From<CallResult> for DispatchResult"],["impl From<Error> for RuntimeError"],["impl From<Error> for Error"],["impl From<Error> for RuntimeError"],["impl From<Error> for Error"],["impl From<Error> for RuntimeError"],["impl From<Error> for RuntimeError"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for RuntimeError"],["impl From<Error> for RuntimeError"],["impl From<RewardScheduleError> for ParameterValidationError"],["impl From<Error> for RuntimeError"],["impl From<Error> for RuntimeError"],["impl From<KeyManagerError> for Error"],["impl From<Error> for Error"],["impl From<()> for TransactionResult<()>"],["impl From<Vec<u8>> for Signature"],["impl From<PublicKey> for PublicKey"],["impl From<PublicKey> for PublicKey"],["impl From<MessageEvent> for ConsensusError"],["impl From<PublicKey> for PublicKey"],["impl From<Signature> for Vec<u8>"],["impl From<TxSimulationFailure> for Error"],["impl From<Address> for Address"],["impl From<Transaction> for TransactionWithMeta"],["impl<R, E> From<Result<R, E>> for TransactionResult<Result<R, E>>"]], "oasis_runtime_sdk_contracts":[["impl From<Error> for RuntimeError"],["impl From<Error> for Error"],["impl From<Error> for Error"]]