[−][src]Crate rustracts
Re-exports
pub use context::ContractContext; |
Modules
context | Implementation of contexes to put in a contract. |
executor | Contains contract wakers. |
Structs
FuturesContract | A FuturesContract produces a value from it's context at it's expire time if it has not been voided before. |
OnKillContract | Permanent contract that produces a value when it is voided by the underlying context |
Enums
Status | Status on completion/invalidation of a contract. |
Traits
Contract | A Contract is a structure that can be invalidated or expired, on expiration the execute method is called, depending on the contract it could produce a value or not. If the contract is not valid at the time of the check it will be voided and could produce a value depending on the contract. Contracts are valid futures that can be run to completion on a reactor or awaited in an async block. |
ContractExt | Extention trait for Contracts. |