[][src]Struct ckb_rocksdb::TransactionOptions

pub struct TransactionOptions { /* fields omitted */ }

Methods

impl TransactionOptions[src]

pub fn new() -> TransactionOptions[src]

Create new transaction options

pub fn set_deadlock_detect(&self, deadlock_detect: bool)[src]

pub fn set_deadlock_detect_depth(&self, depth: i64)[src]

pub fn set_expiration(&self, expiration: i64)[src]

pub fn set_lock_timeout(&self, lock_timeout: i64)[src]

pub fn set_max_write_batch_size(&self, size: usize)[src]

pub fn set_snapshot(&mut self, set_snapshot: bool)[src]

Trait Implementations

impl Default for TransactionOptions[src]

impl Drop for TransactionOptions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.