Skip to main content

RunIdSource

Trait RunIdSource 

Source
pub trait RunIdSource: Send + Sync {
    // Required method
    fn mint(&self) -> Result<String, String>;
}
Expand description

Mints internal run ids. Implemented over the operating system CSPRNG in production and over a fixed sequence in tests, so claim-time logic can be exercised with predictable identities.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§