Expand description
Client implementations for connecting to kaish kernels.
This crate provides the EmbeddedClient for direct in-process access
to a Kernel instance. Best for embedding kaish in other Rust applications.
§Example
ⓘ
use kaish_client::{KernelClient, EmbeddedClient};
use kaish_kernel::{Kernel, KernelConfig};
// Embedded client (in-process)
let kernel = Kernel::new(KernelConfig::default())?;
let client = EmbeddedClient::new(kernel);
let result = client.execute("echo hello").await?;Structs§
- Embedded
Client - A client that wraps a
Kerneldirectly for in-process access.
Enums§
- Client
Error - Errors that can occur when using a kernel client.
Traits§
- Kernel
Client - Common interface for interacting with a kaish kernel.
Type Aliases§
- Client
Result - Result type for client operations.