Expand description
Common traits and structures for the procedure framework.
Re-exports§
pub use crate::error::Error;pub use crate::error::Result;pub use crate::event::ProcedureEvent;pub use crate::watcher::Watcher;
Modules§
- error
- event
- local
- options
- Common traits and structures for the procedure framework.
- procedure 🔒
- rwlock
- store
- test_
util - watcher
Structs§
- Context
- Procedure execution context.
- Event
Context - Framework-owned context supplied when a procedure builds a lifecycle event.
- LockKey
- Keys to identify required locks.
- Parse
IdError - Poison
Key - Poison
Keys - A collection of PoisonKeys.
- Procedure
Context - Context attached to a procedure submission and inherited by its children.
- Procedure
Id - Unique id for Procedure.
- Procedure
Info - Procedure
With Id - A procedure with specific id.
Enums§
- Child
Submission Outcome - Outcome of submitting a child procedure.
- Event
Trigger - Lifecycle action that causes the framework to invoke
Procedure::event. - Procedure
State - State of a submitted procedure.
- Retry
Phase - Phase of a procedure retry.
- Status
- Procedure execution status.
- String
Key
Traits§
- Context
Provider - ContextProvider provides information about procedures in the ProcedureManager.
- Procedure
- A
Procedurerepresents an operation or a set of operations to be performed step-by-step. - Procedure
Manager ProcedureManagerexecutes Procedure submitted to it.
Type Aliases§
- Boxed
Procedure - Boxed Procedure.
- Boxed
Procedure Loader - Loader to recover the Procedure instance from serialized data.
- Context
Provider Ref - Reference-counted pointer to ContextProvider.
- Output
- Procedure
Manager Ref - Ref-counted pointer to the ProcedureManager.