fn stop(&self) {
        for flow_type in FlowType::iter() {
            let flow_type = &flow_type;
            match flow_type {
                FlowType::Advert => self.advert.stop(),
                FlowType::Request => self.request.stop(),
                FlowType::Chunk => self.chunk.stop(),
                FlowType::Retransmission => self.retransmission.stop(),
                FlowType::Transport => self.transport.stop(),
                FlowType::SendAdvert => self.send_advert.stop(),
            };
        }
    }
/// The method stops the flows for each flow type.
The method stops the flows for each flow type.
The method stops the flows for each flow type .
fn stop(&self) {
        for flow_type in FlowType::iter() {
            let flow_type = &flow_type;
            match flow_type {
                FlowType::Advert => self.advert.stop(),
                FlowType::Request => self.request.stop(),
                FlowType::Chunk => self.chunk.stop(),
                FlowType::Retransmission => self.retransmission.stop(),
                FlowType::Transport => self.transport.stop(),
                FlowType::SendAdvert => self.send_advert.stop(),
            };
        }
    }
fn stop ( & self ) { for flow_type in FlowType :: iter ( ) { let flow_type = & flow_type ; match flow_type { FlowType :: Advert => self . advert . stop ( ) , FlowType :: Request => self . request . stop ( ) , FlowType :: Chunk => self . chunk . stop ( ) , FlowType :: Retransmission => self . retransmission . stop ( ) , FlowType :: Transport => self . transport . stop ( ) , FlowType :: SendAdvert => self . send_advert . stop ( ) , } ; } }
The method stops the flows for each flow type.
The method stops the flows for each flow type .
&self
&self