Home
runx-contracts

runx_contracts::execution

Execution semantics contracts: governed disposition, outcome state, and receipt outcome.

Execution semantics contracts: governed disposition, outcome state, and receipt outcome.

Structs §

ReceiptOutcome §

pub struct runx_contracts::execution::ReceiptOutcome { /* ... */ }

Trait Implementations §

impl Borrow for ReceiptOutcome

borrow

fn borrow(self: &Self) -> &T

impl BorrowMut for ReceiptOutcome

borrow_mut

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

impl CloneToUninit for ReceiptOutcome

clone_to_uninit

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

impl Into for ReceiptOutcome

into

fn into(self: Self) -> U

Calls U::from(self).

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

impl From for ReceiptOutcome

from

fn from(t: T) -> T

Returns the argument unchanged.

impl TryInto for ReceiptOutcome

Error

try_into

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

impl TryFrom for ReceiptOutcome

Error

try_from

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

impl Any for ReceiptOutcome

type_id

fn type_id(self: &Self) -> TypeId

impl ToOwned for ReceiptOutcome

Owned

to_owned

fn to_owned(self: &Self) -> T

clone_into

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

impl Same for ReceiptOutcome

Output

impl Clone for ReceiptOutcome

clone

fn clone(self: &Self) -> ReceiptOutcome

impl Debug for ReceiptOutcome

impl PartialEq for ReceiptOutcome

eq

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

impl Serialize for ReceiptOutcome

serialize

fn serialize( self: &Self, __serializer: __S ) -> _serde::__private228::Result<<__S as >::Ok, <__S as >::Error>

impl Deserialize for ReceiptOutcome

deserialize

fn deserialize(__deserializer: __D) -> _serde::__private228::Result<Self, <__D as >::Error>

impl Send for ReceiptOutcome

impl Sync for ReceiptOutcome

impl Freeze for ReceiptOutcome

impl UnsafeUnpin for ReceiptOutcome

impl Unpin for ReceiptOutcome

impl UnwindSafe for ReceiptOutcome

impl RefUnwindSafe for ReceiptOutcome

impl DeserializeOwned for ReceiptOutcome

impl StructuralPartialEq for ReceiptOutcome

ReceiptSurfaceRef §

pub struct runx_contracts::execution::ReceiptSurfaceRef { /* ... */ }

Trait Implementations §

impl Borrow for ReceiptSurfaceRef

borrow

fn borrow(self: &Self) -> &T

impl BorrowMut for ReceiptSurfaceRef

borrow_mut

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

impl CloneToUninit for ReceiptSurfaceRef

clone_to_uninit

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

impl Into for ReceiptSurfaceRef

into

fn into(self: Self) -> U

Calls U::from(self).

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

impl From for ReceiptSurfaceRef

from

fn from(t: T) -> T

Returns the argument unchanged.

impl TryInto for ReceiptSurfaceRef

Error

try_into

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

impl TryFrom for ReceiptSurfaceRef

Error

try_from

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

impl Any for ReceiptSurfaceRef

type_id

fn type_id(self: &Self) -> TypeId

impl ToOwned for ReceiptSurfaceRef

Owned

to_owned

fn to_owned(self: &Self) -> T

clone_into

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

impl Same for ReceiptSurfaceRef

Output

impl Clone for ReceiptSurfaceRef

clone

fn clone(self: &Self) -> ReceiptSurfaceRef

impl Debug for ReceiptSurfaceRef

impl PartialEq for ReceiptSurfaceRef

eq

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

impl Serialize for ReceiptSurfaceRef

serialize

fn serialize( self: &Self, __serializer: __S ) -> _serde::__private228::Result<<__S as >::Ok, <__S as >::Error>

impl Deserialize for ReceiptSurfaceRef

deserialize

fn deserialize(__deserializer: __D) -> _serde::__private228::Result<Self, <__D as >::Error>

impl Send for ReceiptSurfaceRef

impl Sync for ReceiptSurfaceRef

impl Freeze for ReceiptSurfaceRef

impl UnsafeUnpin for ReceiptSurfaceRef

impl Unpin for ReceiptSurfaceRef

impl UnwindSafe for ReceiptSurfaceRef

impl RefUnwindSafe for ReceiptSurfaceRef

impl DeserializeOwned for ReceiptSurfaceRef

impl StructuralPartialEq for ReceiptSurfaceRef

impl Eq for ReceiptSurfaceRef

InputContextCapture §

pub struct runx_contracts::execution::InputContextCapture { /* ... */ }

Trait Implementations §

impl Borrow for InputContextCapture

borrow

fn borrow(self: &Self) -> &T

impl BorrowMut for InputContextCapture

borrow_mut

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

impl CloneToUninit for InputContextCapture

clone_to_uninit

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

impl Into for InputContextCapture

into

fn into(self: Self) -> U

Calls U::from(self).

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

impl From for InputContextCapture

from

fn from(t: T) -> T

Returns the argument unchanged.

impl TryInto for InputContextCapture

Error

try_into

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

impl TryFrom for InputContextCapture

Error

try_from

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

impl Any for InputContextCapture

type_id

fn type_id(self: &Self) -> TypeId

impl ToOwned for InputContextCapture

Owned

to_owned

fn to_owned(self: &Self) -> T

clone_into

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

impl Same for InputContextCapture

Output

impl Clone for InputContextCapture

clone

fn clone(self: &Self) -> InputContextCapture

impl Debug for InputContextCapture

impl PartialEq for InputContextCapture

eq

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

impl Serialize for InputContextCapture

serialize

fn serialize( self: &Self, __serializer: __S ) -> _serde::__private228::Result<<__S as >::Ok, <__S as >::Error>

impl Deserialize for InputContextCapture

deserialize

fn deserialize(__deserializer: __D) -> _serde::__private228::Result<Self, <__D as >::Error>

impl Send for InputContextCapture

impl Sync for InputContextCapture

impl Freeze for InputContextCapture

impl UnsafeUnpin for InputContextCapture

impl Unpin for InputContextCapture

impl UnwindSafe for InputContextCapture

impl RefUnwindSafe for InputContextCapture

impl DeserializeOwned for InputContextCapture

impl StructuralPartialEq for InputContextCapture

ExecutionSemantics §

pub struct runx_contracts::execution::ExecutionSemantics { /* ... */ }

Trait Implementations §

impl Borrow for ExecutionSemantics

borrow

fn borrow(self: &Self) -> &T

impl BorrowMut for ExecutionSemantics

borrow_mut

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

impl CloneToUninit for ExecutionSemantics

clone_to_uninit

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

impl Into for ExecutionSemantics

into

fn into(self: Self) -> U

Calls U::from(self).

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

impl From for ExecutionSemantics

from

fn from(t: T) -> T

Returns the argument unchanged.

impl TryInto for ExecutionSemantics

Error

try_into

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

impl TryFrom for ExecutionSemantics

Error

try_from

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

impl Any for ExecutionSemantics

type_id

fn type_id(self: &Self) -> TypeId

impl ToOwned for ExecutionSemantics

Owned

to_owned

fn to_owned(self: &Self) -> T

clone_into

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

impl Same for ExecutionSemantics

Output

impl Clone for ExecutionSemantics

clone

fn clone(self: &Self) -> ExecutionSemantics

impl Debug for ExecutionSemantics

impl PartialEq for ExecutionSemantics

eq

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

impl Serialize for ExecutionSemantics

serialize

fn serialize( self: &Self, __serializer: __S ) -> _serde::__private228::Result<<__S as >::Ok, <__S as >::Error>

impl Deserialize for ExecutionSemantics

deserialize

fn deserialize(__deserializer: __D) -> _serde::__private228::Result<Self, <__D as >::Error>

impl Send for ExecutionSemantics

impl Sync for ExecutionSemantics

impl Freeze for ExecutionSemantics

impl UnsafeUnpin for ExecutionSemantics

impl Unpin for ExecutionSemantics

impl UnwindSafe for ExecutionSemantics

impl RefUnwindSafe for ExecutionSemantics

impl DeserializeOwned for ExecutionSemantics

impl StructuralPartialEq for ExecutionSemantics

Enums §

GovernedDisposition §

pub enum runx_contracts::execution::GovernedDisposition { /* ... */ }

Trait Implementations §

impl Borrow for GovernedDisposition

borrow

fn borrow(self: &Self) -> &T

impl BorrowMut for GovernedDisposition

borrow_mut

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

impl CloneToUninit for GovernedDisposition

clone_to_uninit

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

impl Into for GovernedDisposition

into

fn into(self: Self) -> U

Calls U::from(self).

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

impl From for GovernedDisposition

from

fn from(t: T) -> T

Returns the argument unchanged.

impl TryInto for GovernedDisposition

Error

try_into

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

impl TryFrom for GovernedDisposition

Error

try_from

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

impl Any for GovernedDisposition

type_id

fn type_id(self: &Self) -> TypeId

impl ToOwned for GovernedDisposition

Owned

to_owned

fn to_owned(self: &Self) -> T

clone_into

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

impl Same for GovernedDisposition

Output

impl Clone for GovernedDisposition

clone

fn clone(self: &Self) -> GovernedDisposition

impl Debug for GovernedDisposition

impl PartialEq for GovernedDisposition

eq

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

impl Serialize for GovernedDisposition

serialize

fn serialize( self: &Self, __serializer: __S ) -> _serde::__private228::Result<<__S as >::Ok, <__S as >::Error>

impl Deserialize for GovernedDisposition

deserialize

fn deserialize(__deserializer: __D) -> _serde::__private228::Result<Self, <__D as >::Error>

impl Send for GovernedDisposition

impl Sync for GovernedDisposition

impl Freeze for GovernedDisposition

impl UnsafeUnpin for GovernedDisposition

impl Unpin for GovernedDisposition

impl UnwindSafe for GovernedDisposition

impl RefUnwindSafe for GovernedDisposition

impl DeserializeOwned for GovernedDisposition

impl StructuralPartialEq for GovernedDisposition

impl Eq for GovernedDisposition

OutcomeState §

pub enum runx_contracts::execution::OutcomeState { /* ... */ }

Trait Implementations §

impl Borrow for OutcomeState

borrow

fn borrow(self: &Self) -> &T

impl BorrowMut for OutcomeState

borrow_mut

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

impl CloneToUninit for OutcomeState

clone_to_uninit

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

impl Into for OutcomeState

into

fn into(self: Self) -> U

Calls U::from(self).

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

impl From for OutcomeState

from

fn from(t: T) -> T

Returns the argument unchanged.

impl TryInto for OutcomeState

Error

try_into

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

impl TryFrom for OutcomeState

Error

try_from

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

impl Any for OutcomeState

type_id

fn type_id(self: &Self) -> TypeId

impl ToOwned for OutcomeState

Owned

to_owned

fn to_owned(self: &Self) -> T

clone_into

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

impl Same for OutcomeState

Output

impl Clone for OutcomeState

clone

fn clone(self: &Self) -> OutcomeState

impl Debug for OutcomeState

impl PartialEq for OutcomeState

eq

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

impl Serialize for OutcomeState

serialize

fn serialize( self: &Self, __serializer: __S ) -> _serde::__private228::Result<<__S as >::Ok, <__S as >::Error>

impl Deserialize for OutcomeState

deserialize

fn deserialize(__deserializer: __D) -> _serde::__private228::Result<Self, <__D as >::Error>

impl Send for OutcomeState

impl Sync for OutcomeState

impl Freeze for OutcomeState

impl UnsafeUnpin for OutcomeState

impl Unpin for OutcomeState

impl UnwindSafe for OutcomeState

impl RefUnwindSafe for OutcomeState

impl DeserializeOwned for OutcomeState

impl StructuralPartialEq for OutcomeState

impl Eq for OutcomeState