factstr 0.3.1

Shared runtime contract for factstr, a fact-based Rust event store with query-defined consistency.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
/// Result of one committed append batch.
///
/// A successful append always commits one consecutive global sequence range.
/// Failed appends and failed conditional appends must not partially commit any
/// part of the batch, and under the current Rust contract they also must not
/// consume sequence numbers that later successful appends would observe.
#[derive(Clone, Debug, Eq, PartialEq)]
pub struct AppendResult {
    pub first_sequence_number: u64,
    pub last_sequence_number: u64,
    pub committed_count: u64,
}