Skip to main content

Crate kiri_protocol

Crate kiri_protocol 

Source
Expand description

The stdio wire protocol: a four-byte big-endian length, followed by a MessagePack map. Each frame is independent and limited to MAX_FRAME_SIZE.

Structs§

FileOptions
Item
Match
SearchOptions
SnapshotData

Enums§

Event
Request
Source

Constants§

MAX_FRAME_SIZE
VERSION

Functions§

read_frame
A clean EOF between frames returns None; a partial or invalid frame is an error. The caller must finish a read before starting the next one.
write_frame