fn send(&mut self, content: MessageContent) -> Result<Step<N>> {
        if !self.netinfo.is_validator() {
            return Ok(Step::default());
        }
        let step: Step<N> = Target::all()
            .message(content.clone().with_epoch(self.epoch))
            .into();
        let our_id = &self.our_id().clone();
        Ok(step.join(self.handle_message_content(our_id, content)?))
    }
/// Multicasts and handles a message. Does nothing if we are only an observer.
Multicasts and handles a message. Does nothing if we are only an observer.
Multicasts and handles a message . Does nothing if we are only an observer .
fn send(&mut self, content: MessageContent) -> Result<Step<N>> {
        if !self.netinfo.is_validator() {
            return Ok(Step::default());
        }
        let step: Step<N> = Target::all()
            .message(content.clone().with_epoch(self.epoch))
            .into();
        let our_id = &self.our_id().clone();
        Ok(step.join(self.handle_message_content(our_id, content)?))
    }
fn send ( & mut self , content : MessageContent ) -> Result < Step < N > > { if ! self . netinfo . is_validator ( ) { return Ok ( Step :: default ( ) ) ; } let step : Step < N > = Target :: all ( ) . message ( content . clone ( ) . with_epoch ( self . epoch ) ) . into ( ) ; let our_id = & self . our_id ( ) . clone ( ) ; Ok ( step . join ( self . handle_message_content ( our_id , content ) ? ) ) }
Multicasts and handles a message.
Multicasts and handles a message .
&mut self
content
MessageContent
&mut self
content
MessageContent