pub fn has_write_lock(&self) -> bool {
        match self.transaction.inner() {
            None => false,
            Some(txn) => txn.write_lock_guard.is_some(),
        }
    }
/// Returns whether or not this session currently holds the write lock.
Returns whether or not this session currently holds the write lock.
Returns whether or not this session currently holds the write lock .
pub fn has_write_lock(&self) -> bool {
        match self.transaction.inner() {
            None => false,
            Some(txn) => txn.write_lock_guard.is_some(),
        }
    }
pub fn has_write_lock ( & self ) -> bool { match self . transaction . inner ( ) { None => false , Some ( txn ) => txn . write_lock_guard . is_some ( ) , } }
Returns whether or not this session currently holds the write lock.
Returns whether or not this session currently holds the write lock .
&self
&self