Expand description
Pure execution service layer for algocline-core.
This module provides the ExecutionService trait and all associated value types
for the new service layer design. It coexists with the legacy types in
crate::state and crate::engine_api without modifying them (parallel evolution).
§Module structure
§Access path
Types in this module are accessed as algocline_core::execution::Foo.
They are not re-exported at the top level of algocline_core to avoid
naming conflicts with legacy top-level types (e.g., QueryResponse).
Re-exports§
pub use cancel::CancelCode;pub use cancel::CancelInfo;pub use cancel::CancelReason;pub use cancel::FailureInfo;pub use cancel::FailureKind;pub use error::AwaitError;pub use error::CancelError;pub use error::ObserveError;pub use error::ObserverRecvError;pub use error::ResumeError;pub use error::SpawnError;pub use error::StateError;pub use pause::PauseInfo;pub use pause::PauseKind;pub use pause::PausePrompt;pub use progress::ObserverHandle;pub use progress::ProgressEvent;pub use resume::QueryResponse;pub use resume::ResumeOutcome;pub use resume::ResumePayload;pub use resume::TerminalOutcome;pub use service::ExecutionService;pub use session_id::SessionId;pub use spec::ScenarioRef;pub use spec::SessionSpec;pub use spec::SpecKind;pub use state::ExecutionResult;pub use state::ExecutionState;pub use state::ExecutionStateTag;pub use crate::TokenUsage;
Modules§
- cancel
- Cancellation and failure types for the
ExecutionServicelayer. - error
- Dedicated error enums for each
ExecutionServiceverb. - pause
- Pause-related types for the
ExecutionServicelayer. - progress
- Progress observation types for the
ExecutionServicelayer. - resume
- Resume-related types for the
ExecutionServicelayer. - service
ExecutionServicetrait — the primary verb surface of the new service layer.- session_
id - Session identifier type for the
ExecutionServicelayer. - spec
- Session specification types for the
ExecutionServicelayer. - state
- Execution state types (v2) for the
ExecutionServicelayer.