This repository was archived by the owner on Aug 16, 2021. It is now read-only.
This repository was archived by the owner on Aug 16, 2021. It is now read-only.
Making errors Sync #240
Open
Description
The failure crate requires that errors are Sync
. Currently (but not in all previous versions) error-chain makes errors which are !Sync
(because they have a Box<Error + Send>
inside them).
It would be beneficial IMO to:
- Provide a Sync adapter for errors. (This could be optimized to not actually use a Mutex except in the Box case, if you think its warranted).
- Release a breaking change which reverts back to requiring Sync by default. This is probably at least a little controversial.
Metadata
Metadata
Assignees
Labels
No labels