These are chat archives for rust-lang/rust

Apr 2017
Marcin Jurczuk
Apr 09 2017 13:19
Anyone fluent in rust channels ?:)
I'm trying to implement something with them but it seems like there can pass only single message. After trying to send another one I'm getting error "channel closed"
Here is part of my code:
At later stage simple println!() inside thread will be replaced by mqtt message task
Marcin Jurczuk
Apr 09 2017 13:25
Or maybe there is another way to handle packets inside tokio-core future based service ?
  1. Parse/decode packet - works.
Sergey Noskov
Apr 09 2017 19:31
@MrSpock your code is out of context - no uses, no identifiers, one can't even determine what channel impl are you using - std, tokio or another