pub struct TransactionManager { /* private fields */ }Implementations§
Source§impl TransactionManager
impl TransactionManager
pub fn new() -> Self
pub fn begin_transaction(&self, conn: &Connection) -> Result<()>
pub fn commit_transaction(&self, conn: &Connection) -> Result<()>
pub fn rollback_transaction(&self, conn: &Connection) -> Result<()>
pub fn is_active(&self) -> bool
pub fn show_status(&self)
pub fn handle_sql_command(&self, conn: &Connection, sql: &str) -> Result<bool>
Auto Trait Implementations§
impl Freeze for TransactionManager
impl RefUnwindSafe for TransactionManager
impl Send for TransactionManager
impl Sync for TransactionManager
impl Unpin for TransactionManager
impl UnwindSafe for TransactionManager
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