You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there currently a way to converting back to a Box<dyn Error + Send + Sync>? I have briefly looked at the implementation and it seems we would need to implement Error for ErrorImpl.
I am currently looking at https://docs.rs/tower-hyper/0.1.1/tower_hyper/server/struct.Server.html which has the following trait bound
S::Error: Into<Box<dyn Error + Send + Sync>>,
Is there currently a way to converting back to a
Box<dyn Error + Send + Sync>
? I have briefly looked at the implementation and it seems we would need to implementError
forErrorImpl
.Then we could do something like
The problem is that the type was thrown away, and it is unclear to me how it should be implemented.
Any ideas?
The text was updated successfully, but these errors were encountered: