-
Notifications
You must be signed in to change notification settings - Fork 703
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Public ThreadMode trait #532
Comments
Exactly the same question. |
This would also help to reuse code that might sometimes need to operate on a snapshot. I'm using macros to duplicate the code because this trait isn't public. |
sorry radio silence... I'll work on #509 and try to piggybuck this nice feedback there too, hopefully this weekend. :) |
also, this is also done: https://github.com/rust-rocksdb/rust-rocksdb/pull/509/files#r664163946 |
hunterlxt
pushed a commit
to hunterlxt/rust-rocksdb
that referenced
this issue
Jul 12, 2021
add `set_compression_options` for `ColumnFamilyOptions` so that we can set the `compression level` when generate sst files Signed-off-by: glorv <glorvs@163.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I want to write a function that accepts both DBWithThreadMode<MultiThreaded> and DBWithThreadMode<SingleThreaded> as parameter. However, because of ThreadMode trait is private, I can not do it. Any idea about how to achieve it? I think make the ThreadMode trait public can solve this problem.
The text was updated successfully, but these errors were encountered: