Function fail::has_failpoints [−][src]
pub const fn has_failpoints() -> bool
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.