wedb_standalone 0.1.1

单机网络服务底座:RESP 协议帧、AOF 逻辑层与节点服务编排(对标 Garnet libs/server 单机半区)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pub struct RespServerSessionSlotVerify;

impl RespServerSessionSlotVerify {
  /// libs/server/Resp/RespServerSessionSlotVerify.cs:CanServeSlot
  pub fn can_serve_slot(_slot: u16) -> bool {
    true
  }

  /// libs/server/Resp/RespServerSessionSlotVerify.cs:CanServeSlotForCustomCommand
  pub fn can_serve_slot_for_custom_command(_slot: u16) -> bool {
    true
  }

  /// libs/server/Resp/RespServerSessionSlotVerify.cs:CanServeSlotNoResponse
  pub fn can_serve_slot_no_response(_slot: u16) -> bool {
    true
  }
}