|
|
@ -4,7 +4,7 @@ use ffi::*; |
|
|
|
|
|
|
|
|
|
|
|
bitflags! { |
|
|
|
bitflags! { |
|
|
|
#[doc="Environment Options"] |
|
|
|
#[doc="Environment Options"] |
|
|
|
flags EnvironmentFlags: c_uint { |
|
|
|
pub flags EnvironmentFlags: c_uint { |
|
|
|
|
|
|
|
|
|
|
|
#[doc="Use a fixed address for the mmap region. This flag must be specified"] |
|
|
|
#[doc="Use a fixed address for the mmap region. This flag must be specified"] |
|
|
|
#[doc="when creating the environment, and is stored persistently in the environment."] |
|
|
|
#[doc="when creating the environment, and is stored persistently in the environment."] |
|
|
@ -104,7 +104,7 @@ bitflags! { |
|
|
|
|
|
|
|
|
|
|
|
bitflags! { |
|
|
|
bitflags! { |
|
|
|
#[doc="Database Options"] |
|
|
|
#[doc="Database Options"] |
|
|
|
flags DatabaseFlags: c_uint { |
|
|
|
pub flags DatabaseFlags: c_uint { |
|
|
|
|
|
|
|
|
|
|
|
#[doc="Keys are strings to be compared in reverse order, from the end of the strings"] |
|
|
|
#[doc="Keys are strings to be compared in reverse order, from the end of the strings"] |
|
|
|
#[doc="to the beginning. By default, Keys are treated as strings and compared from"] |
|
|
|
#[doc="to the beginning. By default, Keys are treated as strings and compared from"] |
|
|
@ -139,7 +139,7 @@ bitflags! { |
|
|
|
|
|
|
|
|
|
|
|
bitflags! { |
|
|
|
bitflags! { |
|
|
|
#[doc="Write Options"] |
|
|
|
#[doc="Write Options"] |
|
|
|
flags WriteFlags: c_uint { |
|
|
|
pub flags WriteFlags: c_uint { |
|
|
|
|
|
|
|
|
|
|
|
#[doc="Insert the new item only if the key does not already appear in the database."] |
|
|
|
#[doc="Insert the new item only if the key does not already appear in the database."] |
|
|
|
#[doc="The function will return `LmdbError::KeyExist` if the key already appears in the"] |
|
|
|
#[doc="The function will return `LmdbError::KeyExist` if the key already appears in the"] |
|
|
|