pub trait HexastoreAxisHeadStats: Send + Sync {
// Required method
fn axis_head_max_commit_ts(
&self,
permutation: IndexPermutation,
head_prefixes: &[Vec<u8>],
) -> impl Future<Output = Result<u64, Status>> + Send;
}Expand description
Max commit_ts among the versioned keys whose slot-0 head term falls under
head_prefixes (every version counts; liveness is not evaluated, so the
result only ever overestimates — safe for its one consumer, the geo
upgrade’s stage-1 swap-timestamp bound).
Required Methods§
Sourcefn axis_head_max_commit_ts(
&self,
permutation: IndexPermutation,
head_prefixes: &[Vec<u8>],
) -> impl Future<Output = Result<u64, Status>> + Send
fn axis_head_max_commit_ts( &self, permutation: IndexPermutation, head_prefixes: &[Vec<u8>], ) -> impl Future<Output = Result<u64, Status>> + Send
Max commit_ts among the versioned keys whose slot-0 head term falls
under head_prefixes. Every version counts — liveness is not
evaluated — so the result only ever overestimates the true bound,
which is safe for the geo upgrade’s stage-1 swap timestamp.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.