Skip to main content

Module warning

Module warning 

Source
Expand description

Warnings raised by library calls and the sinks that receive them. Warnings raised by the library. A function that can warn takes a WarningSink; the library never prints, and nothing is shared between calls.

Structs§

Warning
One warning: a message with an optional name (for muting), file and line.
Warnings
A sink that keeps warnings, with muted names and a per-name quota.

Enums§

WarningKind
What a Warning is.

Traits§

WarningSink
Receives the warnings a library call raises.