make ArenaBuffer unsafe Send + Sync

This commit is contained in:
Nikita Sivukhin
2025-11-11 18:17:04 +04:00
parent 33375697d1
commit d519945098
7 changed files with 15 additions and 10 deletions

View File

@@ -52,6 +52,12 @@ pub struct DataStats {
pub read_bytes: AtomicUsize,
}
impl Default for DataStats {
fn default() -> Self {
Self::new()
}
}
impl DataStats {
pub fn new() -> Self {
Self {