[][src]Struct transact::scheduler::ExecutionTask

pub struct ExecutionTask { /* fields omitted */ }

A transation and associated information required to execute it.

Methods

impl ExecutionTask[src]

pub fn new(pair: TransactionPair, context_id: ContextId) -> Self[src]

Create a new ExecutionPair.

pub fn pair(&self) -> &TransactionPair[src]

The transaction to be executed.

pub fn context_id(&self) -> &ContextId[src]

The identifier of the context to be used when accessing state.

pub fn take(self) -> (TransactionPair, ContextId)[src]

Decompose into its components.

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> SafeBorrow<T> for T where
    T: ?Sized

impl<T> Same<T> for T

type Output = T

Should always be Self