pub fn drain(&self) -> impl Iterator<Item = Record> {
        self.0
            .borrow_mut()
            .drain(..)
            .collect::<Vec<_>>()
            .into_iter()
    }
/// Returns an iterator of events drained from the recording.
Returns an iterator of events drained from the recording.
Returns an iterator of events drained from the recording .
pub fn drain(&self) -> impl Iterator<Item = Record> {
        self.0
            .borrow_mut()
            .drain(..)
            .collect::<Vec<_>>()
            .into_iter()
    }
pub fn drain ( & self ) -> impl Iterator < Item = Record > { self . 0 . borrow_mut ( ) . drain ( .. ) . collect :: < Vec < _ > > ( ) . into_iter ( ) }
Returns an iterator of events drained from the recording.
Returns an iterator of events drained from the recording .
&self
&self