Module tower_lsp::jsonrpc

source ·
Expand description

A subset of JSON-RPC types used by the Language Server Protocol.

Structs

  • A JSON-RPC error object.
  • A JSON-RPC request or notification.
  • A builder to construct the properties of a Request.
  • A successful or failed JSON-RPC response.

Enums

  • A list of numeric error codes used in JSON-RPC responses.
  • A unique ID used to correlate requests and responses together.

Traits

  • A trait implemented by all JSON-RPC method parameters.
  • A trait implemented by all JSON-RPC response types.
  • A trait implemented by all valid JSON-RPC method handlers.

Type Definitions

  • A specialized Result error type for JSON-RPC handlers.