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