//! Transport trait — abstracts the communication layer between client and server.
useasync_trait::async_trait;usecrate::error::Result;usecrate::server::RequestHandler;/// Abstracts the communication layer between an MCP client and server.
#[async_trait]pubtraitTransport: Send + Sync {/// Run the transport, reading requests and writing responses until shutdown.
async fnrun(&self, handler: RequestHandler)->Result<()>;}