Skip to content

Commit

Permalink
Add Send trait bound to ByteStream
Browse files Browse the repository at this point in the history
  • Loading branch information
gferon committed Feb 25, 2024
1 parent 1a8cdf8 commit 184b012
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libsignal-service-hyper/src/push_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ impl HyperPushService {
#[cfg_attr(not(feature = "unsend-futures"), async_trait::async_trait)]
impl PushService for HyperPushService {
// This is in principle known at compile time, but long to write out.
type ByteStream = Box<dyn futures::io::AsyncRead + Unpin>;
type ByteStream = Box<dyn futures::io::AsyncRead + Send + Unpin>;

#[tracing::instrument(skip(self))]
async fn get_json<T>(
Expand Down

0 comments on commit 184b012

Please sign in to comment.