Skip to content

Commit

Permalink
chore: make ByteStream in PushService MaybeSend (#292)
Browse files Browse the repository at this point in the history
  • Loading branch information
boxdot authored Feb 28, 2024
1 parent 184b012 commit 6b8b2b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libsignal-service/src/push_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ pub enum ServiceError {
#[cfg_attr(feature = "unsend-futures", async_trait::async_trait(?Send))]
#[cfg_attr(not(feature = "unsend-futures"), async_trait::async_trait)]
pub trait PushService: MaybeSend {
type ByteStream: futures::io::AsyncRead + Unpin;
type ByteStream: futures::io::AsyncRead + MaybeSend + Unpin;

async fn get_json<T>(
&mut self,
Expand Down

0 comments on commit 6b8b2b0

Please sign in to comment.