1use {
11 derive_more::{Add, AddAssign, Display, From, Into},
12 krabka_macros::PrimitiveCmp,
13};
14
15#[derive(
17 Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord, Display, From, Into, PrimitiveCmp,
18)]
19pub struct Seq(pub u64);
20
21#[derive(
23 Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord, Display, From, Into, PrimitiveCmp,
24)]
25pub struct EpochMs(pub i64);
26
27#[derive(
29 Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord, Display, From, Into, PrimitiveCmp,
30)]
31pub struct RecordCount(pub u64);
32
33#[derive(
35 Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord, Display, From, Into, PrimitiveCmp,
36)]
37pub struct CheckpointCount(pub u64);
38
39#[derive(
41 Debug,
42 Clone,
43 Copy,
44 PartialEq,
45 Eq,
46 Hash,
47 PartialOrd,
48 Ord,
49 Display,
50 From,
51 Into,
52 Add,
53 AddAssign,
54 PrimitiveCmp,
55)]
56pub struct SpoolBytes(pub u64);
57
58#[derive(
60 Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord, Display, From, Into, PrimitiveCmp,
61)]
62pub struct MaxSpoolBytes(pub u64);