Skip to main content

generation

Function generation 

Source
pub fn generation<K: Resource>(obj: &K) -> Option<u64>
Expand description

Hash the generation of a Resource K

Useful for ignoring status-only updates on resources that support generation.

Note that the final delete event need not change generation, so this can suppress objects from delete events. See the module documentation.