// This file is part of VarveDB.
//
// Copyright (C) 2025 Matheus Cardoso <varvedb@matheus.sbs>
//
// This Source Code Form is subject to the terms of the Mozilla Public License
// v. 2.0. If a copy of the MPL was not distributed with this file, You can
// obtain one at http://mozilla.org/MPL/2.0/.
//! Core stream state shared across stream handles.
use AtomicU64;
use Arc;
use Env;
use crate;
use crateWriteWatcher;
/// Shared core state for stream operations.
///
/// This is shared between the main Stream handle and any StreamReader clones.
pub