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
A number of APIs, especially the new_pipeline().install() flavors return Box<dyn Error>. This trait bound is incompatible with useful ecosystem crates like anyhow, whose Context trait requires Box<dyn Error + Send + Sync + 'static>.
I'm happy to submit a PR to fix this. Are there any APIs where we don't want this trait bound?
The text was updated successfully, but these errors were encountered:
Good point. Using Box<dyn Error + Send + Sync + 'static> seems sensible to me. I can't think of a reason why we wouldn't want this. Can you, @jtescher?
A number of APIs, especially the
new_pipeline().install()
flavors returnBox<dyn Error>
. This trait bound is incompatible with useful ecosystem crates likeanyhow
, whoseContext
trait requiresBox<dyn Error + Send + Sync + 'static>
.I'm happy to submit a PR to fix this. Are there any APIs where we don't want this trait bound?
The text was updated successfully, but these errors were encountered: