qubit-fs 0.2.0

Provider-neutral synchronous and asynchronous filesystem abstraction for Rust
Documentation
// =============================================================================
//    Copyright (c) 2026 Haixing Hu.
//
//    SPDX-License-Identifier: Apache-2.0
//
//    Licensed under the Apache License, Version 2.0.
// =============================================================================
//! Atomicity actually achieved by a completed operation.

/// Atomicity guarantee actually achieved by a successful operation.
///
/// # Examples
///
/// ```rust
/// use qubit_fs::metadata::AchievedAtomicity;
///
/// assert!(matches!(AchievedAtomicity::Atomic, AchievedAtomicity::Atomic));
/// ```
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub enum AchievedAtomicity {
    /// The externally visible state transition was atomic.
    Atomic,
    /// The operation completed through a non-atomic sequence.
    NonAtomic,
}