Expand description
Core types and protocol models for stdio_bus
This crate provides the fundamental types used across all stdio_bus components:
- Error types with canonical error codes
- Bus state machine
- JSON-RPC message types
- Statistics and configuration types
- Backend trait for implementations
Structs§
- BusConfig
- stdio_bus JSON configuration.
- BusMessage
- Message received from the bus
- BusStats
- Runtime statistics
- Docker
Options - Docker backend options
- Extension
Info - Information about a single extension
- Extensions
- Extension negotiation data
- Identity
- Identity extension data
- Json
RpcError - JSON-RPC 2.0 error object
- Json
RpcRequest - JSON-RPC 2.0 request
- Json
RpcResponse - JSON-RPC 2.0 response
- Limits
Config - Operational limits.
- Pool
Config - Worker pool configuration.
- Request
Options - Options for individual requests
Enums§
- Backend
Mode - Backend mode selection
- BusState
- State of the stdio_bus instance
- Config
Source - Configuration source for the bus.
- Error
- Main error type for stdio_bus operations
- Error
Code - Canonical error codes for stdio_bus operations
- Json
RpcMessage - Generic JSON-RPC message (can be request or response)
Traits§
- Backend
- Backend trait that all implementations must satisfy
Functions§
- generate_
client_ session_ id - Generate a unique client session ID for stdiobus routing.
Type Aliases§
- Result
- Result type alias for stdio_bus operations