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
For example, I want to access a database. I can't figure out how to pass the database into the function. I've tried implementing the AsyncInterceptor, but ran into the fact that the associated type is a future, and I can't figure out how to name the future because of rust-lang/rust#63063
For example, I want to access a database. I can't figure out how to pass the database into the function. I've tried implementing the
AsyncInterceptor
, but ran into the fact that the associated type is a future, and I can't figure out how to name the future because of rust-lang/rust#63063doesn't work. I've also tried
type Future = Box<dyn futures_core::Future<Output=Result<Request<()>, Status>> + Unpin>;
but ran intoThe text was updated successfully, but these errors were encountered: