Skip to main content

is_tail_protected

Function is_tail_protected 

Source
const fn is_tail_protected(index: usize, total: usize) -> bool
Expand description

Returns true if the message at index (in a list of total messages) falls within the protected tail window and must not be truncated.