Add missing Send bound
This commit is contained in:
parent
6d0aee7f22
commit
24a877d187
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue