network!() { /* proc-macro */ }Expand description
Declares a topology and its fault schedules, and expands to the builder module an author would have written by hand.
The body names the physical harness path, a module, a namespace, the nodes, the directed links, and each schedule’s discipline as fault phrases in the sim’s own vocabulary. What the tokens can know refuses at its own token; what the harness’s value guards refuse still refuses there, through the generated functions’ honest results.
A malformed declaration expands to compile_error! at the offending token, carrying the compiler’s own rendering of the established cause.