pub struct TransactionOptions { /* private fields */ }Implementations§
Source§impl TransactionOptions
impl TransactionOptions
pub fn new() -> Self
pub fn with_isolation_level(self, isolation_level: IsolationLevel) -> Self
pub fn read_only(self) -> Self
pub fn with_access_mode(self, access_mode: TransactionAccessMode) -> Self
pub fn with_deferrable_mode(self, deferrable_mode: DeferrableMode) -> Self
pub fn isolation_level(&self) -> Option<IsolationLevel>
pub fn access_mode(&self) -> TransactionAccessMode
pub fn deferrable_mode(&self) -> Option<DeferrableMode>
Trait Implementations§
Source§impl Clone for TransactionOptions
impl Clone for TransactionOptions
Source§impl Debug for TransactionOptions
impl Debug for TransactionOptions
Source§impl Default for TransactionOptions
impl Default for TransactionOptions
impl Eq for TransactionOptions
Source§impl PartialEq for TransactionOptions
impl PartialEq for TransactionOptions
impl StructuralPartialEq for TransactionOptions
Auto Trait Implementations§
impl Freeze for TransactionOptions
impl RefUnwindSafe for TransactionOptions
impl Send for TransactionOptions
impl Sync for TransactionOptions
impl Unpin for TransactionOptions
impl UnsafeUnpin for TransactionOptions
impl UnwindSafe for TransactionOptions
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