Module defensive_prelude
Expand description
Prelude module for all defensive traits to be imported at once.
Traits§
- Defensive
 - A trait to handle errors and options when you are really sure that a condition must hold, but
not brave enough to 
expecton it, or a default fallback value makes more sense. - Defensive
Option  - Subset of methods similar to 
Defensivethat can only work for aOption. - Defensive
Result  - Subset of methods similar to 
Defensivethat can only work for aResult.