colmugx/acp/agent/message does not have a README file

    AgentMessageError

    pub(all) suberror AgentMessageError {
    InvalidParams(method_name~ : String, cause~ :
    ProtocolDecodeError
    )
    UnknownMethod(method_name~ : String)
    WrongDirection(method_name~ : String)
    WrongKind(method_name~ : String)
    } derive(Eq,
    Debug
    )

    Errors raised while mapping a JSON-RPC method and params value to the Agent-side closed unions above.

    AgentNotification

    Stable v1 notifications accepted by an Agent.

    AgentNotification::method_name

    fn AgentNotification::method_name(self : AgentNotification) -> String

    decode_agent_notification

    fn decode_agent_notification(method_name : String, params : Json?) -> AgentNotification raise AgentMessageError

    decode_agent_request

    fn decode_agent_request(method_name : String, params : Json?) -> AgentRequest raise AgentMessageError

    Source Files