[−][src]Trait transact::context::ContextLifecycle
ContextManager functionality used by the Scheduler.
Required methods
fn create_context(
&mut self,
dependent_contexts: &[ContextId],
state_id: &str
) -> ContextId
&mut self,
dependent_contexts: &[ContextId],
state_id: &str
) -> ContextId
Create a new Context, returning a unique ContextId.
fn drop_context(&mut self, context_id: ContextId)
fn get_transaction_receipt(
&self,
context_id: &ContextId,
transaction_id: &str
) -> Result<TransactionReceipt, ContextManagerError>
&self,
context_id: &ContextId,
transaction_id: &str
) -> Result<TransactionReceipt, ContextManagerError>
Implementors
impl ContextLifecycle for transact::context::manager::ContextManager
[src]
fn create_context(
&mut self,
dependent_contexts: &[ContextId],
state_id: &str
) -> ContextId
[src]
&mut self,
dependent_contexts: &[ContextId],
state_id: &str
) -> ContextId
Creates a Context, and returns the resulting ContextId.
fn drop_context(&mut self, _context_id: ContextId)
[src]
fn get_transaction_receipt(
&self,
context_id: &ContextId,
transaction_id: &str
) -> Result<TransactionReceipt, ContextManagerError>
[src]
&self,
context_id: &ContextId,
transaction_id: &str
) -> Result<TransactionReceipt, ContextManagerError>
Creates a TransactionReceipt based on the information available within the specified Context.
impl ContextLifecycle for transact::context::manager::sync::ContextManager
[src]
fn create_context(
&mut self,
dependent_contexts: &[ContextId],
state_id: &str
) -> ContextId
[src]
&mut self,
dependent_contexts: &[ContextId],
state_id: &str
) -> ContextId
Creates a Context, and returns the resulting ContextId.
fn drop_context(&mut self, context_id: ContextId)
[src]
fn get_transaction_receipt(
&self,
context_id: &ContextId,
transaction_id: &str
) -> Result<TransactionReceipt, ContextManagerError>
[src]
&self,
context_id: &ContextId,
transaction_id: &str
) -> Result<TransactionReceipt, ContextManagerError>