SplitSink (Tcp TX part) in tokio is not `clonable`, so how do i send data over tcp using tokio?


Hello, i am kind of stuck here, i thought SplitSink type which we get after spliting Framed type in tokio, futures.

But, it turns out, this type is not clonable, so how would I send data over this?

Another question, How to use forward method of the stream to bind stream to sink?


Don’t mind, i was able to figure it out. turns out, we can bind all the things togather into single task. looks pretty.