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

Wrapper which allows to create a sink from arbitrary function

Ignores all the incoming errors

Keeps the first error which arrived into this sink

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

Type Definitions

AllDeprecated

Deprecated alias to CollectAll

FirstDeprecated

Deprecated alias to KeepFirst

LastDeprecated

Deprecated alias to KeepLast