Skip to main content

create_key_formatter

Function create_key_formatter 

Source
pub fn create_key_formatter(rank: Option<usize>) -> Arc<dyn KeyFormatter> 
Expand description

Create a key formatter appropriate for the given rank.

Returns a RankPrefixedKeyFormatter if rank is provided, otherwise returns a DefaultKeyFormatter.