Skip to main content

agent_client_protocol/schema/
enum_impls.rs

1//! SDK trait adapters for the ACP enums. Method dispatch lives in the schema.
2
3use crate::v1::schema::{
4    AgentNotification, AgentRequest, AgentResponse, ClientNotification, ClientRequest,
5    ClientResponse,
6};
7
8impl_jsonrpc_request_enum!(ClientRequest);
9impl_jsonrpc_response_enum!(AgentResponse);
10impl_jsonrpc_notification_enum!(ClientNotification);
11
12impl_jsonrpc_request_enum!(AgentRequest);
13impl_jsonrpc_response_enum!(ClientResponse);
14impl_jsonrpc_notification_enum!(AgentNotification);