/// Returns a copy of the message that `pop` would have returned without
/// removing it from the queue.
Returns a copy of the message that `pop` would have returned without
removing it from the queue.
Returns a copy of the message that ` pop ` would have returned without removing it from the queue .
pub(crate) fn peek(&self) -> Option<(QueueIndex, RequestOrResponse)> {
        match self.queue.peek() {
            None => None,
            Some(msg) => {
                let msg = (*msg).clone();
                Some((self.ind, msg))
            }
        }
    }
pub ( crate ) fn peek ( & self ) -> Option < ( QueueIndex , RequestOrResponse ) > { match self . queue . peek ( ) { None => None , Some ( msg ) => { let msg = ( * msg ) . clone ( ) ; Some ( ( self . ind , msg ) ) } } }
Returns a copy of the message that `pop` would have returned without
removing it from the queue.
Returns a copy of the message that ` pop ` would have returned without removing it from the queue .
&self