Struct mysql_async::TransactionOptions
[−]
[src]
pub struct TransactionOptions { /* fields omitted */ }
Options for transaction
Methods
impl TransactionOptions
[src]
pub fn new() -> TransactionOptions
[src]
ⓘImportant traits for &'a mut Wpub fn set_consistent_snapshot(&mut self, value: bool) -> &mut Self
[src]
ⓘImportant traits for &'a mut W
ⓘImportant traits for &'a mut Wpub fn set_isolation_level<T>(&mut self, value: T) -> &mut Self where
T: Into<Option<IsolationLevel>>,
[src]
ⓘImportant traits for &'a mut W
T: Into<Option<IsolationLevel>>,
ⓘImportant traits for &'a mut Wpub fn set_readonly<T>(&mut self, value: T) -> &mut Self where
T: Into<Option<bool>>,
[src]
ⓘImportant traits for &'a mut W
T: Into<Option<bool>>,
pub fn consistent_snapshot(&self) -> bool
[src]
pub fn isolation_level(&self) -> Option<IsolationLevel>
[src]
pub fn readonly(&self) -> Option<bool>
[src]
Trait Implementations
impl Eq for TransactionOptions
[src]
impl PartialEq for TransactionOptions
[src]
fn eq(&self, __arg_0: &TransactionOptions) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &TransactionOptions) -> bool
[src]
This method tests for !=
.
impl Debug for TransactionOptions
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Hash for TransactionOptions
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Clone for TransactionOptions
[src]
fn clone(&self) -> TransactionOptions
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for TransactionOptions
[src]
fn default() -> TransactionOptions
[src]
Returns the "default value" for a type. Read more