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 Freeze for TransactionDBOptions
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