Struct flex_error::NoSource [−][src]
pub struct NoSource;Expand description
An ErrorSource that can be used to represent to lack of any error source.
Both its Source and Detail types are (). This can be used for primitive errors
that are not caused by any error source.
In practice, it is also possible to omit specifying any error source inside
define_error!, which has similar effect as using
NoSource but with the source field omitted entirely.