infinite-db 0.4.0

A spatial-graph database using n-dimensional curves and hyperedges for engineering logic.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Session WAL replication gate policy (hardening D-P8).

/// When replication confirmation is required before WAL retirement.
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum ReplicationGatePolicy {
    /// Replication target configured — gates must be marked explicitly.
    Required,
    /// Embedded-only: auto-certify through the sealed revision.
    NotApplicable,
}

impl Default for ReplicationGatePolicy {
    fn default() -> Self {
        Self::NotApplicable
    }
}