pub trait IdGen {
// Required method
fn new_id(&self) -> String;
}Expand description
Generates opaque, unique, non-deterministic identifiers — run ids and the like. Injected so id-dependent output is deterministic under test.
Note: this is not the source of plan_id. A release plan id is
content-addressed — derived deterministically from the sealed plan’s
canonical bytes (ADR-0002), not generated here. Do not route plan sealing
through this port.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".