Skip to content
This repository has been archived by the owner on Aug 16, 2021. It is now read-only.

Add Sync and Send as failure::Error supports them. #283

Merged
merged 1 commit into from Dec 29, 2018
Merged

Add Sync and Send as failure::Error supports them. #283

merged 1 commit into from Dec 29, 2018

Conversation

o01eg
Copy link
Contributor

@o01eg o01eg commented Dec 16, 2018

I trying to use this library with hyper but cann't use failure::Error for hyper service as service requires https://docs.rs/hyper/0.12.18/hyper/server/struct.Server.html Into<Box<dyn std::error::Error + Send + Sync>> but failure::Error could be converted only to Box<dyn std::error::Error>

This PR adds Sync and Send markers to because Sync and Send already implemented for failure::Error.

@mitsuhiko
Copy link
Contributor

I'm going to merge this. I think this is fine but I cannot prove it sadly.

@mitsuhiko mitsuhiko merged commit 937fb70 into rust-lang-deprecated:master Dec 29, 2018
@o01eg o01eg deleted the add-sync-send branch December 29, 2018 20:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants