diff options
author | Alex Auvolat <lx@deuxfleurs.fr> | 2025-02-05 20:22:16 +0100 |
---|---|---|
committer | Alex Auvolat <lx@deuxfleurs.fr> | 2025-02-05 20:22:16 +0100 |
commit | 620dc58560c7e1509ee9e56ce03d15ec502c34c8 (patch) | |
tree | 18e0e50adbfc5e9297e73451ab7b0de16ab7a6bd /src/net/send.rs | |
parent | 47e87c8739d7f0d420ea6a01fea99e638414baeb (diff) | |
download | garage-620dc58560c7e1509ee9e56ce03d15ec502c34c8.tar.gz garage-620dc58560c7e1509ee9e56ce03d15ec502c34c8.zip |
remove async_trait for traits declared in garage_net
Diffstat (limited to 'src/net/send.rs')
-rw-r--r-- | src/net/send.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/net/send.rs b/src/net/send.rs index 1454eeb7..6f1ac02c 100644 --- a/src/net/send.rs +++ b/src/net/send.rs @@ -3,7 +3,6 @@ use std::pin::Pin; use std::sync::Arc; use std::task::{Context, Poll}; -use async_trait::async_trait; use bytes::{BufMut, Bytes, BytesMut}; use log::*; @@ -273,7 +272,6 @@ impl DataFrame { /// /// The `.send_loop()` exits when the sending end of the channel is closed, /// or if there is an error at any time writing to the async writer. -#[async_trait] pub(crate) trait SendLoop: Sync { async fn send_loop<W>( self: Arc<Self>, |