Skip to main content

key

Function key 

Source
pub fn key(prefix: &str, instance: &str, kind: &str, id: &str) -> String
Expand description

The store key layout: <prefix>/<instance>/<kind>/<id>. The instance segment keeps two agents sharing one backing store from colliding, and the kind segment lets a restore enumerate one entity kind by prefix alone.