(session_id: &str)
| 263 | /// Derive the local ordered-index prefix for an external session ID. |
| 264 | #[inline] |
| 265 | pub fn session_turn_namespace(session_id: &str) -> [u8; 32] { |
| 266 | *blake3::hash(session_id.as_bytes()).as_bytes() |
| 267 | } |
| 268 | |
| 269 | // --------------------------------------------------------------------------- |
| 270 | // Value types |