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 (like all credential-related data) the concrete objects returned must be both Send and Sync so credentials remain Send + Sync. (Since most platform errors are integer error codes, this requirement is not much of a burden on the platform-specific store providers.)
Enums§
- Each variant of the
Error
enum provides a summary of the error. More details, if relevant, are contained in the associated value, which may be platform-specific.
Functions§
- Try to interpret a byte vector as a password string