Skip to main content

qubit_fs/options/
copy_method.rs

1/*******************************************************************************
2 *
3 *    Copyright (c) 2026 Haixing Hu.
4 *
5 *    SPDX-License-Identifier: Apache-2.0
6 *
7 *    Licensed under the Apache License, Version 2.0.
8 *
9 ******************************************************************************/
10//! Copy method model.
11
12/// Method used to complete a copy operation.
13#[derive(Clone, Copy, Debug, Eq, PartialEq)]
14pub enum CopyMethod {
15    /// Local provider-native copy.
16    Local,
17    /// Server-side copy.
18    ServerSide,
19    /// Client-side stream copy.
20    Stream,
21    /// Mixed copy strategy.
22    Mixed,
23}