qubit_fs/copy/copy_execution_route.rs
1// =============================================================================
2// Copyright (c) 2026 Haixing Hu.
3//
4// SPDX-License-Identifier: Apache-2.0
5//
6// Licensed under the Apache License, Version 2.0.
7// =============================================================================
8
9//! Static copy execution route.
10
11/// The route an already-validated copy may take.
12#[derive(Clone, Copy, Debug, Eq, PartialEq)]
13#[non_exhaustive]
14pub enum CopyExecutionRoute {
15 /// Try the provider primitive, then use the stream fallback on decline.
16 ProviderThenStream,
17 /// Only the provider primitive can satisfy the request.
18 ProviderOnly,
19 /// Only the stream fallback is available.
20 StreamOnly,
21}