Add core::stream::Stream

This patch adds the `core::stream` submodule and implements `core::stream::Stream` in accordance with RFC2996.

Add feedback from @camelid
This commit is contained in:
Yoshua Wuyts
2020-11-13 18:24:26 +01:00
parent bbc01bb624
commit 0c8db16a67
8 changed files with 347 additions and 0 deletions

View File

@@ -254,6 +254,8 @@ pub mod panicking;
pub mod pin;
pub mod raw;
pub mod result;
#[unstable(feature = "async_stream", issue = "79024")]
pub mod stream;
pub mod sync;
pub mod fmt;