Skip to main content

cmp

Function cmp 

Source
pub fn cmp(a: &TypeStateKey, b: &TypeStateKey) -> Ordering
Expand description

Compares state keys in ascending event-type and state-key order.

Event type is the primary key and the state-key string breaks ties. The ordering matches the natural tuple order of TypeStateKey.