MCPcopy Create free account
hub / github.com/Firstyear/opensuse-proxy-cache / RedisServerMsg

Enum RedisServerMsg

redis-server/src/codec.rs:24–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22
23#[allow(dead_code)]
24pub enum RedisServerMsg<'a> {
25 Ok,
26 Error(String),
27 // Info returns a single bulk string.
28 Info { used_memory: u64 },
29 KvPair { k: String, v: String },
30 DataHdr { sz: usize },
31 DataChunk { slice: &'a [u8] },
32 DataEof,
33 Null,
34 Pong,
35}
36
37#[derive(Debug)]
38enum DecodeState {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected