Skip to main content

Crate kaish_client

Crate kaish_client 

Source
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§

EmbeddedClient
A client that wraps a Kernel directly for in-process access.

Enums§

ClientError
Errors that can occur when using a kernel client.

Traits§

KernelClient
Common interface for interacting with a kaish kernel.

Type Aliases§

ClientResult
Result type for client operations.