Struct ckb_rocksdb::TransactionDBOptions
source · pub struct TransactionDBOptions { /* private fields */ }
Implementations§
source§impl TransactionDBOptions
impl TransactionDBOptions
sourcepub fn new() -> TransactionDBOptions
pub fn new() -> TransactionDBOptions
Create new transaction options
pub fn set_default_lock_timeout(&self, default_lock_timeout: i64)
pub fn set_max_num_locks(&self, max_num_locks: i64)
pub fn set_num_stripes(&self, num_stripes: usize)
pub fn set_transaction_lock_timeout(&self, txn_lock_timeout: i64)
Trait Implementations§
source§impl Default for TransactionDBOptions
impl Default for TransactionDBOptions
source§fn default() -> TransactionDBOptions
fn default() -> TransactionDBOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for TransactionDBOptions
impl !Send for TransactionDBOptions
impl !Sync for TransactionDBOptions
impl Unpin for TransactionDBOptions
impl UnwindSafe for TransactionDBOptions
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more