We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb7f3dd commit e6a3160Copy full SHA for e6a3160
src/stream/from_stream.rs
@@ -10,6 +10,7 @@ use std::pin::Pin;
10
/// See also: [`IntoStream`].
11
///
12
/// [`IntoStream`]: trait.IntoStream.html
13
+#[cfg_attr(feature = "docs", doc(cfg(unstable)))]
14
pub trait FromStream<T: Send> {
15
/// Creates a value from a stream.
16
src/stream/into_stream.rs
@@ -13,6 +13,7 @@ use futures_core::stream::Stream;
/// See also: [`FromStream`].
/// [`FromStream`]: trait.FromStream.html
17
pub trait IntoStream {
18
/// The type of the elements being iterated over.
19
type Item;
0 commit comments