Module io_wrapper

Module io_wrapper 

Source
Expand description

I/O abstraction layer for MCP server to enable testing

This module provides a trait-based abstraction over I/O operations, allowing the MCP server to work with both real stdin/stdout (production) and mock I/O streams (testing).

Structs§

MockIo
Mock I/O implementation for testing using DuplexStream
StdIo
Production I/O implementation using stdin/stdout

Traits§

McpIo
Trait for MCP I/O operations