Development Documentation (main branch) - For stable release docs, see docs.rs/eidetica

Module shared

Module shared 

Source
Expand description

Shared utilities for transport implementations.

This module provides common functionality used across different transport implementations to reduce code duplication and ensure consistency.

Structs§

JsonHandler
Utilities for handling JSON serialization/deserialization in transports.
ServerState
Manages server state common to all transport implementations. Since transports are owned exclusively by Sync instances and all operations require &mut self, no internal locking is needed - the Rust ownership system provides the necessary synchronization guarantees.

Functions§

wait_for_ready
Waits for server ready signal and maps errors appropriately.