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.
1 parent 898e919 commit 52e1700Copy full SHA for 52e1700
src/body.rs
@@ -114,6 +114,11 @@ impl<E: Payload> Payload for Box<E> {
114
fn content_length(&self) -> Option<u64> {
115
(**self).content_length()
116
}
117
+
118
+ #[doc(hidden)]
119
+ fn __hyper_full_data(&mut self, arg: FullDataArg) -> FullDataRet<Self::Data> {
120
+ (**self).__hyper_full_data(arg)
121
+ }
122
123
124
@@ -358,6 +363,7 @@ impl Payload for Body {
358
363
359
364
360
365
// We can improve the performance of `Body` when we know it is a Once kind.
366
361
367
fn __hyper_full_data(&mut self, _: FullDataArg) -> FullDataRet<Self::Data> {
362
368
match self.kind {
369
Kind::Once(ref mut val) => FullDataRet(val.take()),
0 commit comments