pub fn into_ops(self) -> Option<TransactionOps> {
        match self {
            TransactionStatus::Default | TransactionStatus::Failed(_) => None,
            TransactionStatus::Started(txn)
            | TransactionStatus::InTransaction(txn)
            | TransactionStatus::InTransactionImplicit(txn) => Some(txn.ops),
        }
    }
/// Extracts the inner transaction ops if not failed.
Extracts the inner transaction ops if not failed.
Extracts the inner transaction ops if not failed .
pub fn into_ops(self) -> Option<TransactionOps> {
        match self {
            TransactionStatus::Default | TransactionStatus::Failed(_) => None,
            TransactionStatus::Started(txn)
            | TransactionStatus::InTransaction(txn)
            | TransactionStatus::InTransactionImplicit(txn) => Some(txn.ops),
        }
    }
pub fn into_ops ( self ) -> Option < TransactionOps > { match self { TransactionStatus :: Default | TransactionStatus :: Failed ( _ ) => None , TransactionStatus :: Started ( txn ) | TransactionStatus :: InTransaction ( txn ) | TransactionStatus :: InTransactionImplicit ( txn ) => Some ( txn . ops ) , } }
Extracts the inner transaction ops if not failed.
Extracts the inner transaction ops if not failed .
self
self