Networking
CPU TCP transport, bounded framing, and MCP. Python bindings are not currently exported.
oa
Types
10 members
Validated JSON object passed to every tool call handler. Scalar accessors provide the common application boundary. Self::json and Self::json_field preserve nested values without exposing OA’s private protocol parser as a public JSON framework.
Source12 members
Stateful MCP protocol session. Registration is frozen by the first handled message. Self::handle_message is transport-independent; Self::run_stdio adds the standard newline-delimited subprocess binding. Calls are externally synchronized. Self::close never waits for or drains external I/O. Donor: oa::McpServer.
Source3 members
Configuration for one McpServer instance.
Source1 members
Registered MCP text resource.
Source1 members
3 members
Four-byte little-endian payload length followed by exact payload bytes. A framing error closes the stream, because a partial or rejected frame leaves no trustworthy next message boundary. Protocol semantics belong to the consuming session.
Source7 members
One blocking IPv4 TCP listener. The caller owns the listener and every accepted stream independently.
Source12 members
One connected blocking TCP byte stream. This type owns its socket. Dropping it releases the socket; close makes that lifecycle transition explicit and idempotent. A clone obtained with try_clone shares the underlying TCP connection, including shutdown state.
SourceEnums
Constants & Variables
pub const MCP_LATEST_PROTOCOL_VERSION: &str = "2026-07-28";Source Types
10 members
Validated JSON object passed to every tool call handler. Scalar accessors provide the common application boundary. Self::json and Self::json_field preserve nested values without exposing OA’s private protocol parser as a public JSON framework.
Source12 members
Stateful MCP protocol session. Registration is frozen by the first handled message. Self::handle_message is transport-independent; Self::run_stdio adds the standard newline-delimited subprocess binding. Calls are externally synchronized. Self::close never waits for or drains external I/O. Donor: oa::McpServer.
Source3 members
Configuration for one McpServer instance.
Source1 members
Registered MCP text resource.
Source1 members
3 members
Four-byte little-endian payload length followed by exact payload bytes. A framing error closes the stream, because a partial or rejected frame leaves no trustworthy next message boundary. Protocol semantics belong to the consuming session.
Source7 members
One blocking IPv4 TCP listener. The caller owns the listener and every accepted stream independently.
Source12 members
One connected blocking TCP byte stream. This type owns its socket. Dropping it releases the socket; close makes that lifecycle transition explicit and idempotent. A clone obtained with try_clone shares the underlying TCP connection, including shutdown state.
SourceEnums
Constants & Variables
pub const MCP_LATEST_PROTOCOL_VERSION: &str = "2026-07-28";Source Types
10 members
Validated JSON object passed to every tool call handler. Scalar accessors provide the common application boundary. Self::json and Self::json_field preserve nested values without exposing OA’s private protocol parser as a public JSON framework.
Source12 members
Stateful MCP protocol session. Registration is frozen by the first handled message. Self::handle_message is transport-independent; Self::run_stdio adds the standard newline-delimited subprocess binding. Calls are externally synchronized. Self::close never waits for or drains external I/O. Donor: oa::McpServer.
Source3 members
Configuration for one McpServer instance.
Source1 members
Registered MCP text resource.
Source1 members
Enums
Constants & Variables
pub const MCP_LATEST_PROTOCOL_VERSION: &str = "2026-07-28";Source