Crate zng_unique_id

Source
Expand description

Macros for generating unique ID types.

§Crate

This crate is part of the zng project.

§Cargo Features

This crate provides 2 feature flags, 1 enabled by default.

§"named"

Enable associated names for ID types.

Enabled by default.

§"hot_reload"

Enable static patching for ID types.

The hot_reload feature on the main crate uses this to ensure IDs generated by dynamically loaded libraries are unique across the running process.

Macros§

Structs§

Enums§

  • Error when trying to associate give a name with an existing id.

Traits§

  • Trait implemented for all generated unique ID types.

Functions§

Type Aliases§