qubit-fs-testkit 0.9.2

Reusable provider contract checks for qubit-fs implementations
Documentation
// =============================================================================
//    Copyright (c) 2026 Haixing Hu.
//
//    SPDX-License-Identifier: Apache-2.0
//
//    Licensed under the Apache License, Version 2.0.
// =============================================================================
//! Typed availability results for provider-owned fixture probes.

/// Distinguishes a supported fixture probe from one the fixture cannot offer.
///
/// # Type Parameters
///
/// * `T` - Value returned when the fixture supports the probe.
///
/// # Examples
///
/// ```
/// use qubit_fs_testkit::FixtureSupport;
///
/// let supported = FixtureSupport::Supported(7_u32);
/// assert_eq!(supported, FixtureSupport::Supported(7));
/// assert_eq!(FixtureSupport::<u32>::Unsupported, FixtureSupport::Unsupported);
/// ```
#[must_use]
#[derive(Clone, Debug, Eq, PartialEq)]
pub enum FixtureSupport<T> {
    /// The fixture supplied the requested provider-specific value.
    Supported(
        /// Provider-specific value supplied for this supported probe.
        T,
    ),
    /// The fixture cannot supply this optional probe.
    Unsupported,
}