https://crates.io/crates/interlock looks like something that could be used to independently lock subslices of buffers. I'm not sure what the performance hit would be or whether it really would obviate the need for unsafety in DisjointMut, but it might be worth looking at.
https://crates.io/crates/interlock looks like something that could be used to independently lock subslices of buffers. I'm not sure what the performance hit would be or whether it really would obviate the need for unsafety in
DisjointMut, but it might be worth looking at.