hide temp anybody

This commit is contained in:
Rob Ede 2021-12-04 04:07:36 +00:00
parent eb9a6125fb
commit 3a183811cc
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
1 changed files with 4 additions and 3 deletions

View File

@ -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;