qubit-fs 0.2.1

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.
// =============================================================================
// facade tests.
//! Copy publication state at the point of provider failure.

/// Stable copy state for recovery decisions; error text is not a state
/// protocol.
///
/// # Examples
///
/// ```rust
/// use qubit_fs::copy::CopyFailureState;
///
/// assert_eq!(CopyFailureState::Unchanged, CopyFailureState::Unchanged);
/// ```
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub enum CopyFailureState {
    /// No destination effect was published.
    Unchanged,
    /// Some destination effects were published.
    PartiallyPublished,
    /// The destination was published before a later failure.
    Published,
    /// The provider cannot determine publication state.
    Indeterminate,
}