Skip to main content

NativeDurableOutcome

Type Alias NativeDurableOutcome 

Source
pub type NativeDurableOutcome = DurableOutcome;
Expand description

Structural durable write outcome from native RPC (P0.6). No string parsing.

Aliased Type§

pub struct NativeDurableOutcome {
    pub committed: bool,
    pub committed_statements: u64,
    pub last_commit_hlc: Vec<u8>,
    pub first_commit_statement_index: Option<u64>,
    pub last_commit_statement_index: Option<u64>,
    pub completed_statements: u64,
    pub current_statement_index: u64,
    pub terminal_state: String,
    pub serialization_state: String,
    pub last_commit_epoch: Option<u64>,
}

Fields§

§committed: bool§committed_statements: u64§last_commit_hlc: Vec<u8>

16-byte big-endian HLC, or empty when no commit timestamp is available.

§first_commit_statement_index: Option<u64>§last_commit_statement_index: Option<u64>§completed_statements: u64§current_statement_index: u64§terminal_state: String§serialization_state: String§last_commit_epoch: Option<u64>

Optional legacy epoch; absence means “no epoch” (never use 0 as missing).