pub type HttpBodyRef = Arc<dyn HttpBody + Send + Sync>;Expand description
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Shared handle to a response body.
Bounded exactly as HttpFuture is: a native transfer runs on a thread of
its own and its body crosses to whoever awaits it, while a browser’s body is
a ReadableStream reader that belongs to the one thread a page has and
cannot claim otherwise.
Aliased Type§
pub struct HttpBodyRef { /* private fields */ }