pub fn expect_complete(&self) {
            if let Mode::Valid { operations, .. } = &self.mode {
                let ops = operations.try_lock().unwrap();
                if !ops.is_empty() {
                    panic!(
                        "FakeConnection has {:?} expected operations that were not performed",
                        ops.len()
                    );
                }
            }
        }
/// Verified that all expected operations have now been completed.
/// Panics if this is not true.
Verified that all expected operations have now been completed.
Panics if this is not true.
Verified that all expected operations have now been completed . Panics if this is not true .
pub fn expect_complete(&self) {
            if let Mode::Valid { operations, .. } = &self.mode {
                let ops = operations.try_lock().unwrap();
                if !ops.is_empty() {
                    panic!(
                        "FakeConnection has {:?} expected operations that were not performed",
                        ops.len()
                    );
                }
            }
        }
pub fn expect_complete ( & self ) { if let Mode :: Valid { operations , .. } = & self . mode { let ops = operations . try_lock ( ) . unwrap ( ) ; if ! ops . is_empty ( ) { panic ! ( " " ops len ( ) ) ; } } }
Verified that all expected operations have now been completed.
Verified that all expected operations have now been completed .
&self