(session_id: &str)
| 270 | /// Derive the local ordered-index prefix for an external session ID. |
| 271 | #[inline] |
| 272 | pub fn session_turn_namespace(session_id: &str) -> [u8; 32] { |
| 273 | *blake3::hash(session_id.as_bytes()).as_bytes() |
| 274 | } |
| 275 | |
| 276 | // --------------------------------------------------------------------------- |
| 277 | // Value types |