obzenflow_core 0.2.4

Core domain layer for ObzenFlow - pure abstractions with minimal dependencies
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// SPDX-License-Identifier: MIT OR Apache-2.0
// SPDX-FileCopyrightText: 2025-2026 ObzenFlow Contributors
// https://obzenflow.dev

//! Typed per-pass middleware context keys.

/// Marker trait for typed middleware context values stored inside `MiddlewareContext`.
///
/// Keys are used only for typed lookup; `LABEL` is diagnostics-only.
pub trait MiddlewareContextKey: 'static {
    type Value: Send + Sync + 'static;

    /// Human-readable diagnostics only. Not a lookup key.
    const LABEL: &'static str;
}