Skip to main content

Module protocol

Module protocol 

Source
Expand description

Wire protocol codecs.

RespCodec parses and encodes RESP frames for Redis-compatible clients. FastCodec handles the crate’s native binary protocol used by fast-cache clients that want lower framing overhead.

Structs§

BorrowedCommandFrame
CommandFrame
CommandSpanFrame
FastCodec
FastRequest
RespCodec

Enums§

FastCommand
FastCommandKind
FastResponse
Frame

Constants§

FAST_FLAG_KEY_HASH
FAST_FLAG_KEY_TAG
FAST_FLAG_ROUTE_SHARD
FAST_PROTOCOL_VERSION
FAST_REQUEST_MAGIC
Native fast-cache protocol, version 2.
FAST_RESPONSE_MAGIC

Type Aliases§

FastRequestDecodeResult
FastResponseDecodeResult
RespCommandDecodeResult
RespCommandSpanDecodeResult
RespDecodeResult