remove async_trait for traits declared in garage_net

This commit is contained in:
Alex Auvolat
2025-02-05 20:22:16 +01:00
parent 47e87c8739
commit 620dc58560
15 changed files with 35 additions and 54 deletions
-2
View File
@@ -6,7 +6,6 @@ use std::sync::{Arc, Mutex};
use std::task::Poll;
use arc_swap::ArcSwapOption;
use async_trait::async_trait;
use bytes::Bytes;
use log::{debug, error, trace};
@@ -220,7 +219,6 @@ impl ClientConn {
impl SendLoop for ClientConn {}
#[async_trait]
impl RecvLoop for ClientConn {
fn recv_handler(self: &Arc<Self>, id: RequestID, stream: ByteStream) {
trace!("ClientConn recv_handler {}", id);