Skip to main content

Crate lsp_service

Crate lsp_service 

Source

Structs§

Client
A handle for sending server-to-client messages, such as textDocument/publishDiagnostics.
Notification
A notification message. A processed notification message must not send a response back. They work like events.
Request
A request message to describe a request between the client and the server. Every processed request must send a response back to the sender of the request.
ResponseError
The error a Handler answers a request with: what went wrong, and the message the client shows.
Server
A set of Sender/Receiver objects for passing Messages around.
ThreadConnection
TracingLayer

Enums§

ErrorCode
An ErrorCode representing either a JSON-RPC Error Code or LSP defined error code.
Id
A identifier for tracking Requests and Responses. An identifier can be a String or Number if included.
Message
JSON RPC Message This represents a single message coming in or going out, that is compliant with the JSON-RPC 2.0 spec. It wraps the Request, Response and Notification structs.
MessageError
ParseError
PositionEncoding
The unit that LSP [Position::character] offsets count, agreed with the client during initialize.
Response
A Response Message sent as a result of a request

Traits§

Handler