[−][src]Trait rustracts::ContractExt
Extention trait for Contracts.
Required methods
fn get_context(&self) -> Arc<Mutex<C>>
Get a thread-safe handle to a ContractContext.
Implementors
impl<F, C, R> ContractExt<C> for FuturesContract<F, C, R> where
C: ContractContext + Clone,
F: FnOnce(C) -> R + Clone,
[src]
C: ContractContext + Clone,
F: FnOnce(C) -> R + Clone,
fn get_context(&self) -> Arc<Mutex<C>>
[src]
impl<F, C, R> ContractExt<C> for OnKillContract<F, C, R> where
C: ContractContext + Clone,
F: FnOnce(C) -> R + Clone,
[src]
C: ContractContext + Clone,
F: FnOnce(C) -> R + Clone,