mirror of https://github.com/fafhrd91/actix-web
hide temp anybody
This commit is contained in:
parent
eb9a6125fb
commit
3a183811cc
|
@ -103,14 +103,15 @@ impl<B> BodyEncoding for crate::HttpResponse<B> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// pin_project_lite::pin_project! {
|
// TODO: remove this if it doesn't appear to be needed
|
||||||
|
|
||||||
|
#[allow(dead_code)]
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub enum AnyBody {
|
pub(crate) enum AnyBody {
|
||||||
None,
|
None,
|
||||||
Full { body: crate::web::Bytes },
|
Full { body: crate::web::Bytes },
|
||||||
Boxed { body: actix_http::body::BoxBody },
|
Boxed { body: actix_http::body::BoxBody },
|
||||||
}
|
}
|
||||||
// }
|
|
||||||
|
|
||||||
impl crate::body::MessageBody for AnyBody {
|
impl crate::body::MessageBody for AnyBody {
|
||||||
type Error = crate::BoxError;
|
type Error = crate::BoxError;
|
||||||
|
|
Loading…
Reference in New Issue