Struct async_mwmr::Options
source · pub struct Options { /* private fields */ }
Expand description
Options for the TransactionDB
.
Implementations§
source§impl Options
impl Options
sourcepub const fn detect_conflicts(&self) -> bool
pub const fn detect_conflicts(&self) -> bool
Returns whether the transactions would be checked for conflicts.
sourcepub fn set_detect_conflicts(&mut self, detect_conflicts: bool) -> &mut Self
pub fn set_detect_conflicts(&mut self, detect_conflicts: bool) -> &mut Self
Set whether the transactions would be checked for conflicts.
sourcepub const fn with_detect_conflicts(self, detect_conflicts: bool) -> Self
pub const fn with_detect_conflicts(self, detect_conflicts: bool) -> Self
Set whether the transactions would be checked for conflicts.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
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