wedb_standalone 0.1.2

Standalone server foundation: RESP protocol, AOF logic layer, and node service orchestration
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/// 时长类配置槽位的存储与 CONFIG 线上表达单位
///(对标 libs/server/Config/ConfigTimeUnit.cs:ConfigTimeUnit)。
#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)]
pub enum ConfigTimeUnit {
  /// 无单位:非时长类选项。
  #[default]
  None,
  /// 微秒。
  Microseconds,
  /// 毫秒。
  Milliseconds,
  /// 秒。
  Seconds,
}