Crate jdb_proto

Crate jdb_proto 

Source
Expand description

§jdb_proto

系统核心协议层,定义通用的数据结构、通信协议和错误类型。 System core protocol layer, defining common data structures, communication protocols, and error types.

Structs§

ValPtr
指向磁盘数据的逻辑指针 (WiscKey 风格)

Enums§

Error
系统通信层统一错误 / System communication layer unified error
Req
发送给分片(Shard)的内部命令 / Internal commands sent to Shard

Functions§

new_resp_channel
创建响应通道 (Oneshot, 高性能) Create response channel (Oneshot, high-performance)
new_shard_channel
创建分片通信通道

Type Aliases§

Key
键的不可变字节序列 (Zero-copy ref-counted)
RespRx
响应通道接收端 (Client 侧) / Response channel receiver (Client side)
RespTx
响应通道发送端 (Shard 侧) / Response channel sender (Shard side)
Result
结果类型别名 / Result type alias
ShardRx
分片请求接收端 (单消费者) / Shard request receiver (single consumer)
ShardTx
分片请求发送端 (Clone, 多生产者) / Shard request sender (Clone, multi-producer)
Val
值的不可变字节序列 (Zero-copy ref-counted)