/// Convert from the Session's version
Convert from the Session's version
Convert from the Session ' s version
fn from(status: &CoordTransactionStatus<T>) -> TransactionStatus {
        match status {
            CoordTransactionStatus::Default => TransactionStatus::Idle,
            CoordTransactionStatus::Started(_) => TransactionStatus::InTransaction,
            CoordTransactionStatus::InTransaction(_) => TransactionStatus::InTransaction,
            CoordTransactionStatus::InTransactionImplicit(_) => TransactionStatus::InTransaction,
            CoordTransactionStatus::Failed(_) => TransactionStatus::Failed,
        }
    }
fn from ( status : & CoordTransactionStatus < T > ) -> TransactionStatus { match status { CoordTransactionStatus :: Default => TransactionStatus :: Idle , CoordTransactionStatus :: Started ( _ ) => TransactionStatus :: InTransaction , CoordTransactionStatus :: InTransaction ( _ ) => TransactionStatus :: InTransaction , CoordTransactionStatus :: InTransactionImplicit ( _ ) => TransactionStatus :: InTransaction , CoordTransactionStatus :: Failed ( _ ) => TransactionStatus :: Failed , } }
Convert from the Session's version
Convert from the Session ' s version
status
&CoordTransactionStatus<T>