Expand description
Contains error and result types for all the util functions.
Structs§
- Util
Error - Error type used by all models. Used as the error type in UtilError, which is used by all the controllers in the application.
Enums§
- Util
Error Type - The type of UtilError that occured.
Functions§
- as_
util_ error - Helper function for
.map_err()chains to wrap any error as UtilError. - missing_
util_ error - Helper function for
.ok_or_else()to create UtilError on None.
Type Aliases§
- Util
Result - Used as the result types for all utils.