Cannot be done through the Debug trait, so should be a separate utility.Involves significant amount of additional code generation, so should be hidden behind a cargo feature debug_atom_names.
This debug print will have side effects as a request will be sent for each atom that is not in the list of predefined atoms.
This is finally done by having global variable, and through the fmt::Debug mechanism.
So users only have to activate the feature and it works without code modification.
Cannot be done through theDebug
trait, so should be a separate utility.Involves significant amount of additional code generation, soshould be hidden behind a cargo featuredebug_atom_names
.This debug print will have side effects as a request will be sent for each atom that is not in the list of predefined atoms.