fn handle_message_content(
        &mut self,
        sender_id: &N,
        content: MessageContent,
    ) -> Result<Step<N>> {
        match content {
            MessageContent::SbvBroadcast(msg) => self.handle_sbv_broadcast(sender_id, &msg),
            MessageContent::Conf(v) => self.handle_conf(sender_id, v),
            MessageContent::Term(v) => self.handle_term(sender_id, v),
            MessageContent::Coin(msg) => self.handle_coin(sender_id, *msg),
        }
    }
/// Dispatches the message content to the corresponding handling method.
Dispatches the message content to the corresponding handling method.
Dispatches the message content to the corresponding handling method .
fn handle_message_content(
        &mut self,
        sender_id: &N,
        content: MessageContent,
    ) -> Result<Step<N>> {
        match content {
            MessageContent::SbvBroadcast(msg) => self.handle_sbv_broadcast(sender_id, &msg),
            MessageContent::Conf(v) => self.handle_conf(sender_id, v),
            MessageContent::Term(v) => self.handle_term(sender_id, v),
            MessageContent::Coin(msg) => self.handle_coin(sender_id, *msg),
        }
    }
fn handle_message_content ( & mut self , sender_id : & N , content : MessageContent , ) -> Result < Step < N > > { match content { MessageContent :: SbvBroadcast ( msg ) => self . handle_sbv_broadcast ( sender_id , & msg ) , MessageContent :: Conf ( v ) => self . handle_conf ( sender_id , v ) , MessageContent :: Term ( v ) => self . handle_term ( sender_id , v ) , MessageContent :: Coin ( msg ) => self . handle_coin ( sender_id , * msg ) , } }
Dispatches the message content to the corresponding handling method.
Dispatches the message content to the corresponding handling method .
&mut self
sender_id
&N
content
MessageContent
&mut self
sender_id
&N
content
MessageContent