Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
R
rust-rocksdb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangzongwu
rust-rocksdb
Commits
14144c68
Unverified
Commit
14144c68
authored
Nov 30, 2017
by
Huachao Huang
Committed by
GitHub
Nov 30, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Export ExternalSstFileInfo and impl Send and Sync for Env (#165)
parent
87a8e359
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
lib.rs
src/lib.rs
+2
-2
rocksdb.rs
src/rocksdb.rs
+3
-0
No files found.
src/lib.rs
View file @
14144c68
...
@@ -37,8 +37,8 @@ pub use librocksdb_sys::{self as crocksdb_ffi, new_bloom_filter, CompactionPrior
...
@@ -37,8 +37,8 @@ pub use librocksdb_sys::{self as crocksdb_ffi, new_bloom_filter, CompactionPrior
DBCompactionStyle
,
DBCompressionType
,
DBEntryType
,
DBInfoLogLevel
,
DBCompactionStyle
,
DBCompressionType
,
DBEntryType
,
DBInfoLogLevel
,
DBRecoveryMode
,
DBStatisticsHistogramType
,
DBStatisticsTickerType
};
DBRecoveryMode
,
DBStatisticsHistogramType
,
DBStatisticsTickerType
};
pub
use
merge_operator
::
MergeOperands
;
pub
use
merge_operator
::
MergeOperands
;
pub
use
rocksdb
::{
BackupEngine
,
CFHandle
,
DBIterator
,
DBVector
,
Env
,
Kv
,
Range
,
SeekKey
,
pub
use
rocksdb
::{
BackupEngine
,
CFHandle
,
DBIterator
,
DBVector
,
Env
,
ExternalSstFileInfo
,
Kv
,
SequentialFile
,
SstFileWriter
,
Writable
,
WriteBatch
,
DB
};
Range
,
SeekKey
,
SequentialFile
,
SstFileWriter
,
Writable
,
WriteBatch
,
DB
};
pub
use
rocksdb_options
::{
BlockBasedOptions
,
ColumnFamilyOptions
,
CompactOptions
,
DBOptions
,
pub
use
rocksdb_options
::{
BlockBasedOptions
,
ColumnFamilyOptions
,
CompactOptions
,
DBOptions
,
EnvOptions
,
FifoCompactionOptions
,
HistogramData
,
EnvOptions
,
FifoCompactionOptions
,
HistogramData
,
IngestExternalFileOptions
,
RateLimiter
,
ReadOptions
,
RestoreOptions
,
IngestExternalFileOptions
,
RateLimiter
,
ReadOptions
,
RestoreOptions
,
...
...
src/rocksdb.rs
View file @
14144c68
...
@@ -1855,6 +1855,9 @@ pub struct Env {
...
@@ -1855,6 +1855,9 @@ pub struct Env {
pub
inner
:
*
mut
DBEnv
,
pub
inner
:
*
mut
DBEnv
,
}
}
unsafe
impl
Send
for
Env
{}
unsafe
impl
Sync
for
Env
{}
impl
Default
for
Env
{
impl
Default
for
Env
{
fn
default
()
->
Env
{
fn
default
()
->
Env
{
unsafe
{
unsafe
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment