// =============================================================================
// Copyright (c) 2025 - 2026 Haixing Hu.
//
// SPDX-License-Identifier: Apache-2.0
//
// Licensed under the Apache License, Version 2.0.
// =============================================================================
//! Recovery states for failed synchronous writes.
/// Provider-confirmed recovery state when a write commit fails.
///
/// # Examples
///
/// ```rust
/// use qubit_fs::write::WriteFailureState;
///
/// assert!(matches!(WriteFailureState::NotPublished, WriteFailureState::NotPublished));
/// ```