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