What is the canonical name to refer to a duplex of AsyncRead + AsyncWrite? I'm thinking of going with "byte stream" or "raw byte stream", but I don't feel this is the correct way to refer to it.
There are two kind of byte streams in async Rust: 1. AsyncRead / AsyncWrite -- which can only ever operate on bytes. 2. Stream<StreamItem = Vec<u8>> / Sink<SinkItem = Vec<u8>> -- which are generic over their types, but can choose to operate on bytes. Similar but different.
-
-
gotcha! that does, however, sound like you only have a choice of bytes. As in, it's not like you have a stream of &str vs a stream of bytes. So I think specifying 'raw' might be confusing.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.