zeodtr opened a new issue, #166:
URL: https://github.com/apache/iceberg-rust/issues/166

   Hi,
   
   Currently `Catalog` `trait` only has `std::Debug` as a requirement.
   So, when I try to add an instance of a `Catalog` (such as `Arc<dyn 
Catalog>`) as a field of a `struct` that is related to async operations, 
compilation fails with the following error: "`(dyn Catalog + 'static)` cannot 
be shared between threads safely`".
   It would be nice to add `Sync + Send` to `Catalog` `trait` to allow this.
   
   If this matter is too trivial for a formal issue, I can discuss it on the 
Iceberg Slack channel instead.
   
   Thank you.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to