Structs§
- Accounting
Storage Disabled - Zero-sized storage for debug accounting when
DebugAccountingEnabledisfalse. - Accounting
Storage Enabled - Storage for debug accounting when
DebugAccountingEnabledistrue. - Atomic
Token - Atomic storage for a
Token. - Bool
- Helper type for selecting storage types from compile-time
boolconstants. - Chain
Lock Transaction - Environment-independent framework for chain lock transactions.
- Chain
Lock Transaction Token - Zero-sized capability token proving that a transaction of type
Tis currently active on the calling execution context. - Done
Type - Marker type indicating completion of a transaction with no return value.
- Option
- Wrapper for a transaction state option tag.
- Saved
State - Saved transaction state returned by
ChainLockTransaction::save_state_and_use_reserved_tokenandChainLockTransaction::save_state_initial, used to restore an active transaction across context switches. - Token
- A transaction generation token used to identify the owning transaction of a
ChainLockand arbitrate priority when contention occurs. - Trace
Storage Disabled - Zero-sized storage when contention tracing is disabled.
- Trace
Storage Enabled - Extra state when contention tracing is enabled.
Enums§
- Action
- Non-terminal control flow action returned by a transaction attempt closure.
- State
- Lifecycle state of a
ChainLockTransaction. - Transaction
Result - Result of a single execution of a transaction attempt closure passed to
until_done.
Constants§
Traits§
- Accounting
Selector - Maps a compile-time
booltoAccountingStorageEnabledorAccountingStorageDisabled. - Accounting
Storage - Storage trait for debug lock accounting in
ChainLockTransaction. - Contention
State - Trait for contention state stored inside a
ChainLock. - Into
Transaction Result - Trait implemented by return types of closures passed to
ChainLockTransaction::until_done. - State
Option - Trait implemented by compile-time state option tags passed to
ChainLockTransaction::until_done. - State
Saver - Trait implemented by environment-specific state savers (such as IRQ-save and preempt-disable
guards) managed by
ChainLockTransaction::until_done. - Trace
Storage - Storage trait for contention spin tracing in
ChainLockTransaction. - Tracing
Selector - Maps a compile-time
booltoTraceStorageEnabled<C>orTraceStorageDisabled. - Transaction
- Trait representing a chain lock transaction type used by
ChainLockandChainLockGuard. - Transaction
Hooks - Environment-specific hooks required by
ChainLockTransaction.
Type Aliases§
- Select
Accounting - Type alias selecting
AccountingStorageEnabledwhenENABLEDistrue, orAccountingStorageDisabledwhenENABLEDisfalse. - Select
Tracing - Type alias selecting
TraceStorageEnabled<C>whenENABLEDistrue, orTraceStorageDisabledwhenENABLEDisfalse.