Add missing Send bound

This commit is contained in:
Dirkjan Ochtman 2024-07-16 20:51:40 +02:00
parent 6d0aee7f22
commit 24a877d187
1 changed files with 1 additions and 1 deletions

View File

@ -791,7 +791,7 @@ where
/// Object safe body trait /// Object safe body trait
#[async_trait] #[async_trait]
pub trait BytesBody { pub trait BytesBody: Send {
/// Convert the body into [`Bytes`] /// Convert the body into [`Bytes`]
/// ///
/// This consumes the body. The behavior for calling this method multiple times is undefined. /// This consumes the body. The behavior for calling this method multiple times is undefined.