Expand description
Decoding and encoding msgpack rpc messages from/to neovim.
Enums§
- RpcMessage
- A msgpack-rpc message, see https://github.com/msgpack-rpc/msgpack-rpc/blob/master/spec.md
Traits§
Functions§
- decode
- Continously reads from reader, pushing onto
rest. Then tries to decode the contents ofrest. If it succeeds, returns the message, and leaves any non-decoded bytes inrest. If we did not read enough for a full message, read more. Return on all other errors. - encode
- Encode the given message into the
BufWriter. Flushes the writer when finished. - encode_
sync - Encode the given message into the
writer.