1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//! Rust caller SDK for the `aion-server` workflow-management API.
//!
//! The SDK connects to an Aion server over gRPC and exposes typed helpers for
//! starting, signaling, querying, canceling, listing, describing, and subscribing
//! to workflows.
//!
//! # Example
//!
//! ```no_run
//! # async fn example() -> Result<(), Box<dyn std::error::Error>> {
//! use aion_client::{ClientAuth, ClientBuilder};
//!
//! let mut builder = ClientBuilder::new("http://127.0.0.1:50051")
//! .with_namespace("default");
//! if let Ok(token) = std::env::var("AION_AUTH_TOKEN") {
//! builder = builder.with_auth(ClientAuth::bearer(token));
//! }
//! let client = builder.build().await?;
//! let _shared = client.clone();
//! # Ok(())
//! # }
//! ```
/// Client builder, authentication, TLS options, and workflow operations.
/// Client-side error taxonomy.
/// Workflow-scoped operation handle.
/// Operation option and response models.
/// Typed conversion helpers between serde values and Aion payloads.
/// Event stream and subscription helpers.
/// Transport adapters (gRPC, WebSocket event streaming, embedded engine).
pub use ;
pub use ;
pub use WorkflowHandle;
pub use ;
pub use ;
pub use ;