qubit-fs 0.2.2

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.
// =============================================================================
//! Copy method model.

/// Method used to complete a copy operation.
///
/// # Examples
///
/// ```rust
/// use qubit_fs::copy::CopyMethod;
///
/// assert_eq!(CopyMethod::Streamed, CopyMethod::Streamed);
/// ```
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub enum CopyMethod {
    /// Provider-native copy.
    Native,
    /// Storage-level clone or reflink copy.
    Clone,
    /// Server-side copy.
    ServerSide,
    /// Client-side stream copy.
    Streamed,
    /// Mixed copy strategy.
    Mixed,
}