mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-28 00:00:20 +02:00
Add Body::from_stream (#1848)
This commit is contained in:
@@ -1,9 +1,5 @@
|
||||
//! HTTP body utilities.
|
||||
|
||||
mod stream_body;
|
||||
|
||||
pub use self::stream_body::StreamBody;
|
||||
|
||||
#[doc(no_inline)]
|
||||
pub use http_body::{Body as HttpBody, Empty, Full};
|
||||
|
||||
|
||||
@@ -9,6 +9,5 @@ pub(crate) mod tracing_helpers;
|
||||
|
||||
pub(crate) fn assert_send<T: Send>() {}
|
||||
pub(crate) fn assert_sync<T: Sync>() {}
|
||||
pub(crate) fn assert_unpin<T: Unpin>() {}
|
||||
|
||||
pub(crate) struct NotSendSync(*const ());
|
||||
|
||||
Reference in New Issue
Block a user