aboutsummaryrefslogtreecommitdiff
path: root/src/net/recv.rs
diff options
context:
space:
mode:
authortrinity-1686a <trinity@deuxfleurs.fr>2025-02-08 16:01:11 +0100
committertrinity-1686a <trinity@deuxfleurs.fr>2025-02-08 16:01:11 +0100
commitf034e834fa70f579bfd85745aea533b4328cbce4 (patch)
tree0ec66ad7ad96ea32b8582f1c0566959c17f4b823 /src/net/recv.rs
parentbf0f7924189444683077ce80b7d72303b2b20145 (diff)
parentd3226bfa91d4500063c5c287c6256729dcbb3f88 (diff)
downloadgarage-f034e834fa70f579bfd85745aea533b4328cbce4.tar.gz
garage-f034e834fa70f579bfd85745aea533b4328cbce4.zip
Merge branch 'main' into 1686a/s3-redirects
Diffstat (limited to 'src/net/recv.rs')
-rw-r--r--src/net/recv.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/net/recv.rs b/src/net/recv.rs
index 0de7bef2..35a6d71a 100644
--- a/src/net/recv.rs
+++ b/src/net/recv.rs
@@ -1,7 +1,6 @@
use std::collections::HashMap;
use std::sync::Arc;
-use async_trait::async_trait;
use bytes::Bytes;
use log::*;
@@ -50,7 +49,6 @@ impl Drop for Sender {
/// according to the protocol defined above: chunks of message in progress of being
/// received are stored in a buffer, and when the last chunk of a message is received,
/// the full message is passed to the receive handler.
-#[async_trait]
pub(crate) trait RecvLoop: Sync + 'static {
fn recv_handler(self: &Arc<Self>, id: RequestID, stream: ByteStream);
fn cancel_handler(self: &Arc<Self>, _id: RequestID) {}