Expand description
Platform-independent error model.
There is an escape hatch here for surfacing platform-specific
error information returned by the platform-specific storage provider,
but the concrete objects returned must be Send so they can be
moved from one thread to another. (Since most platform errors
are integer error codes, this requirement
is not much of a burden on the platform-specific store providers.)
Enums§
- Error
- Each variant of the
Errorenum provides a summary of the error. More details, if relevant, are contained in the associated value, which may be platform-specific.
Functions§
- decode_
password - Try to interpret a byte vector as a password string