Module wurm::sink

source · []
Expand description

Various sinks for errors

Of course, all of these sinks implement Warn.

Structs

Collects all the incoming errors into a Vec

Keeps the first error which arrived into this sink

Wrapper which allows to create a sink from arbitrary function

Ignores all the incoming errors

Keeps the last error which arrived into this sink

Writes all the incoming errors to standard error stream

Functions

Creates a sink from function func