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
// Safety note: auto-implementing Send on most db-related types is prevented by the inner FFI// pointer. In most cases, however, this pointer is Send-safe because it is never aliased and// rocksdb internally does not rely on thread-local information for its user-exposed types.unsafeimplSendforOptions{}unsafeimplSendforWriteOptions{}unsafeimplSendforBlockBasedOptions{}unsafeimplSendforCuckooTableOptions{}unsafeimplSendforReadOptions{}unsafeimplSendforIngestExternalFileOptions{}unsafeimplSendforCacheWrapper{}// Sync is similarly safe for many types because they do not expose interior mutability, and their// use within the rocksdb library is generally behind a const referenceunsafeimplSyncforOptions{}unsafeimplSyncforWriteOptions{}unsafeimplSyncforBlockBasedOptions{}unsafeimplSyncforCuckooTableOptions{}unsafeimplSyncforReadOptions{}unsafeimplSyncforIngestExternalFileOptions{}unsafeimplSyncforCacheWrapper{}
Should FlushOptions be there too? Or was it left out intentionally?
The text was updated successfully, but these errors were encountered:
I noticed that
Options
,ReadOptions
andWriteOptions
all implement Send+Sync on this section ofdb_options.rs
:Should
FlushOptions
be there too? Or was it left out intentionally?The text was updated successfully, but these errors were encountered: