1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
//! Durable Streams state machine for Ursula.
//!
//! Module map:
//!
//! - [`command`]: replicated command variants applied to the state machine.
//! - [`response`]: result variants and error codes returned per command.
//! - [`model`]: persistent data types (metadata, segments, producer state, plans).
//! - [`snapshot`]: snapshot wire format and restoration errors.
//! - [`state_machine`]: the deterministic [`StreamStateMachine`] that drives a Raft group.
//! - [`validate`]: bucket/stream id validation used by HTTP and Raft entry points.
pub use StreamCommand;
pub use StreamIntegritySnapshot;
pub use AppendStreamInput;
pub use COLD_INDEX_PAGE_SPAN_BYTES;
pub use ColdChunkRef;
pub use ColdFlushCandidate;
pub use ColdGcEntry;
pub use ColdGcTarget;
pub use ExternalPayloadRef;
pub use HotPayloadSegment;
pub use ObjectPayloadRef;
pub use ProducerAppendRecord;
pub use ProducerRequest;
pub use ProducerSnapshot;
pub use StreamBatchAppend;
pub use StreamBatchAppendItem;
pub use StreamBootstrapPlan;
pub use StreamMessageRecord;
pub use StreamMetadata;
pub use StreamRead;
pub use StreamReadColdIndexSegment;
pub use StreamReadColdSegment;
pub use StreamReadObjectSegment;
pub use StreamReadPlan;
pub use StreamReadSegment;
pub use StreamStatus;
pub use StreamVisibleSnapshot;
pub use StreamErrorCode;
pub use StreamErrorContext;
pub use StreamResponse;
pub use StreamSnapshot;
pub use StreamSnapshotEntry;
pub use StreamSnapshotError;
pub use StreamStateMachine;
pub use validate_bucket_id;
pub use validate_stream_id;