pub const fn has_failpoints() -> bool
Expand description
Returns whether code generation for failpoints is enabled.
This function allows consumers to check (at runtime) whether the library
was compiled with the (buildtime) failpoints
feature, which enables
code generation for failpoints.