// =============================================================================
// Copyright (c) 2025 - 2026 Haixing Hu.
//
// SPDX-License-Identifier: Apache-2.0
//
// Licensed under the Apache License, Version 2.0.
// =============================================================================
//! Internal decode-policy action after reject handling.
use NonZeroUsize;
/// Decode-policy action ready to be applied to buffered state.
///
/// # Type Parameters
///
/// - `Value`: Owned replacement value transferred to the decode consumer when
/// the policy emits a value instead of skipping invalid source units.
pub