Skip to main content

exact_epoch_successor

Function exact_epoch_successor 

Source
pub const fn exact_epoch_successor(current: i64, maximum: i64) -> Option<i64>
Expand description

Return the exact successor of current when it fits below maximum.

The explicit maximum lets narrower host fields, such as Kafka int32 epochs, use the same proved i64 primitive as barrier epochs.