fn pop(&mut self) -> Option<Mode<Word>> {
        let mut lock = self
            .expected_modes
            .lock()
            .expect("unable to lock serial mock in call to pop");
        let queue = lock
            .as_mut()
            .expect("attempt to get queue reference from a None");
        queue.pop_front()
    }
/// Pop the next transaction out of the queue
Pop the next transaction out of the queue
Pop the next transaction out of the queue
fn pop(&mut self) -> Option<Mode<Word>> {
        let mut lock = self
            .expected_modes
            .lock()
            .expect("unable to lock serial mock in call to pop");
        let queue = lock
            .as_mut()
            .expect("attempt to get queue reference from a None");
        queue.pop_front()
    }
fn pop ( & mut self ) -> Option < Mode < Word > > { let mut lock = self . expected_modes . lock ( ) . expect ( " " ) ; let queue = lock . as_mut ( ) . expect ( " " ) ; queue . pop_front ( ) }
Pop the next transaction out of the queue
Pop the next transaction out of the queue
&mut self
&mut self