/* close all txs execpt file xfers. */
close all txs execpt file xfers.
close all txs execpt file xfers .
fn close_non_file_txs(&mut self, max_id: u64) {
        debug!("close_non_file_txs: checking for non-file txs to wrap up");
        for tx in &mut self.transactions {
            if tx.id >= max_id {
                debug!("close_non_file_txs: done");
                break;
            }
            if let Some(SMBTransactionTypeData::FILE(_)) = tx.type_data {
                // leaving FILE txs open as they can deal with gaps.
            } else {
                debug!("ose_non_file_txs: tx {} marked as done", tx.id);
                tx.request_done = true;
                tx.response_done = true;
            }
        }
    }
fn close_non_file_txs ( & mut self , max_id : u64 ) { debug ! ( " " ) ; for tx in & mut self . transactions { if tx . id >= max_id { debug ! ( " " ) ; break ; } if let Some ( SMBTransactionTypeData :: FILE ( _ ) ) = tx . type_data { // leaving FILE txs open as they can deal with gaps. } else { debug ! ( " " tx id ) ; tx . request_done = true ; tx . response_done = true ; } } }
close all txs execpt file xfers.
close all txs execpt file xfers .
&mut self
max_id
u64