pub type BufferId = u64;Expand description
Stable per-buffer identifier carried through async pipelines (syntax, git-signs, format-worker) so workers can multiplex per-buffer state without holding buffer references.
Assigned by the application layer; 0 is a valid test sentinel.
ยงExample
use hjkl_buffer::BufferId;
let id: BufferId = 42;
assert_eq!(id, 42);