Module state

Module state 

Source
Expand description

Type-level utilities for guiding the construction of Transaction.

Structs§

InConstruction
Indicates that a Transaction is under construction, and its body may still be modified.
ReadyForSigning
Indicates that a Transaction’s body is now complete, and the transaction is either awaiting signatures, or fully signed. In particular, methods such as Transaction::sign and Transaction::id becomes available.
Unknown
Indicates that a Transaction is in an unknown state; only some methods will be available.

Traits§

IsTransactionBodyState
Restricts the inhabitants that a generic parameter can take. This is used in the context of Transaction to allow some methods to be always accessible, or restricted to a particular state.