pub fn kill_stream(mut self) {
        match self.stream().shutdown(net::Shutdown::Both) {
            _ => self.stream_killed = true,
        }
        drop(self.rx);
        drop(self.tx);
    }
/// Consume the netfactory, shutting down the socket and dropping the channels
Consume the netfactory, shutting down the socket and dropping the channels
Consume the netfactory shutting down the socket and dropping the channels
pub fn kill_stream(mut self) {
        match self.stream().shutdown(net::Shutdown::Both) {
            _ => self.stream_killed = true,
        }
        drop(self.rx);
        drop(self.tx);
    }
pub fn kill_stream ( mut self ) { match self . stream ( ) . shutdown ( net :: Shutdown :: Both ) { _ => self . stream_killed = true , } drop ( self . rx ) ; drop ( self . tx ) ; }
Consume the netfactory, shutting down the socket and dropping the channels
Consume the netfactory shutting down the socket and dropping the channels
mut self
mut self