// =============================================================================
// Copyright (c) 2026 Haixing Hu.
//
// SPDX-License-Identifier: Apache-2.0
//
// Licensed under the Apache License, Version 2.0.
// =============================================================================
//! Completion state for bounded prefix reads.
/// Explains why a bounded prefix read stopped.
///
/// # Examples
///
/// ```
/// use qubit_fs::read::PrefixReadTermination;
///
/// let termination = PrefixReadTermination::StreamEnded;
/// assert_eq!(termination, PrefixReadTermination::StreamEnded);
/// ```