//! `CodecRuntime` - role trait for codec implementations.
//!
//! Per `docs/ROLES.md` §8. The trait carries the universal pair
//! (`atomic_opset` + `dispatch_atomic`); the engine routes through
//! `dispatch_atomic`. Author Contract impls
//! (`crate::contracts::Codec`) define the user-facing surface;
//! `#[derive(bb::Codec)]` emits the bridge into
//! `CodecRuntime::dispatch_atomic`.
//!
//! The opset declares three ops: `Train`, `Encode`, `Decode`.
//! `Train` carries the optional calibration pass; impls that skip
//! training keep the default `Contract::train` no-op and the derive
//! routes the op through `dispatch_atomic` like any other arm.
use crate;
use crateRuntimeResourceRef;
use crateSlotValue;
/// Role trait for codec implementations.