pub fn push_output_response(&mut self, msg: Response) {
        let receiver = &msg.originator;
        // As long as we are not garbage collecting output queues, we are guaranteed
        // that an output queue should exist for pushing responses because one would
        // have been created when the request (that triggered this response) was
        // inducted into the induction pool.
        self.output_queues
            .get_mut(receiver)
            .unwrap()
            .push_response(msg);
    }
/// Pushes a `Response` type message into the relevant output queue. The
/// protocol should have already reserved a slot, so this cannot fail.
///
/// # Panics
///
/// Panics if the queue does not already exist or there is no reserved slot
/// to push the `Response` into.
Pushes a `Response` type message into the relevant output queue. The
protocol should have already reserved a slot, so this cannot fail.
Pushes a ` Response ` type message into the relevant output queue . The protocol should have already reserved a slot so this cannot fail .
pub fn push_output_response(&mut self, msg: Response) {
        let receiver = &msg.originator;
        // As long as we are not garbage collecting output queues, we are guaranteed
        // that an output queue should exist for pushing responses because one would
        // have been created when the request (that triggered this response) was
        // inducted into the induction pool.
        self.output_queues
            .get_mut(receiver)
            .unwrap()
            .push_response(msg);
    }
pub fn push_output_response ( & mut self , msg : Response ) { let receiver = & msg . originator ; // As long as we are not garbage collecting output queues, we are guaranteed // that an output queue should exist for pushing responses because one would // have been created when the request (that triggered this response) was // inducted into the induction pool. self . output_queues . get_mut ( receiver ) . unwrap ( ) . push_response ( msg ) ; }
Pushes a `Response` type message into the relevant output queue.
Pushes a ` Response ` type message into the relevant output queue .
&mut self
msg
Response
&mut self
msg
Response
panics
Panics if the queue does not already exist or there is no reserved slot
to push the `Response` into.
Panics if the queue does not already exist or there is no reserved slot to push the ` Response ` into .