//! This file provides validation functionality for use with
//! `ieql validate` (among other functions).
use fmt;
/// This trait provides types with the `validate` function. It is useful
/// for types whose data structures can have many different states, only _some_
/// of which are valid.
/// There are two types of issues: serious and non-serious. For recoverable
/// problems that still may be of note to the user, use `Warning`. For more severe
/// issues, use `Error`. The associated enum `String` should be a human-readable
/// description of the issue, suitable, for error logs.