Struct transact::scheduler::ExecutionTask [−][src]
pub struct ExecutionTask { /* fields omitted */ }
Expand description
A transation and associated information required to execute it.
Implementations
impl ExecutionTask
[src]
impl ExecutionTask
[src]pub fn new(pair: TransactionPair, context_id: ContextId) -> Self
[src]
pub fn new(pair: TransactionPair, context_id: ContextId) -> Self
[src]Create a new ExecutionPair
.
pub fn pair(&self) -> &TransactionPair
[src]
pub fn pair(&self) -> &TransactionPair
[src]The transaction to be executed.
pub fn context_id(&self) -> &ContextId
[src]
pub fn context_id(&self) -> &ContextId
[src]The identifier of the context to be used when accessing state.
Auto Trait Implementations
impl RefUnwindSafe for ExecutionTask
impl Send for ExecutionTask
impl Sync for ExecutionTask
impl Unpin for ExecutionTask
impl UnwindSafe for ExecutionTask
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> SafeBorrow<T> for T where
T: ?Sized,
impl<T> SafeBorrow<T> for T where
T: ?Sized,
pub fn borrow_replacement(ptr: &T) -> &T
pub fn borrow_replacement(ptr: &T) -> &T
Given ptr
, which was obtained from a prior call to Self::borrow()
,
return a value with the same nominal lifetime which is guaranteed to
survive mutations to Self
. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,