pub trait InternalIdGenerator: Send + Sync {
// Required method
fn generate_id(&self, entity: &str) -> Result<u64, RuntimeError>;
}Required Methods§
fn generate_id(&self, entity: &str) -> Result<u64, RuntimeError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".