We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Body::wrap_stream
1 parent bf8d74a commit f821ecdCopy full SHA for f821ecd
src/body/body.rs
@@ -185,6 +185,7 @@ impl Body {
185
/// This function requires enabling the `stream` feature in your
186
/// `Cargo.toml`.
187
#[cfg(feature = "stream")]
188
+ #[cfg_attr(docsrs, doc(cfg(feature = "stream")))]
189
pub fn wrap_stream<S, O, E>(stream: S) -> Body
190
where
191
S: Stream<Item = Result<O, E>> + Send + 'static,
0 commit comments