Crate warn [] [src]

A simple library for warning callbacks.

Structs

Ignore

Struct that will ignore all the warnings it gets passed.

Log

Struct that logs each warning it encounters.

Panic

Struct that will panic on any warning it encounters.

Wrap

Helper struct for the wrap function.

Traits

Warn

Trait for objects that can accept warnings.

Functions

wrap

Wraps a Warn struct so it can receive more warning types.