aboutsummaryrefslogtreecommitdiff
path: root/src/block
diff options
context:
space:
mode:
authorAlex <lx@deuxfleurs.fr>2025-02-05 19:52:00 +0000
committerAlex <lx@deuxfleurs.fr>2025-02-05 19:52:00 +0000
commitd3226bfa91d4500063c5c287c6256729dcbb3f88 (patch)
treef27dad5a52a165d91edc4ffbddca16d2b1015249 /src/block
parent47e87c8739d7f0d420ea6a01fea99e638414baeb (diff)
parentaf67626ab2bd32e94ab521607574737939a7edf3 (diff)
downloadgarage-d3226bfa91d4500063c5c287c6256729dcbb3f88.tar.gz
garage-d3226bfa91d4500063c5c287c6256729dcbb3f88.zip
Merge pull request 'remove uses of #[async_trait]' (#952) from remove-async-trait into mainHEADmain
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/952
Diffstat (limited to 'src/block')
-rw-r--r--src/block/manager.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/block/manager.rs b/src/block/manager.rs
index 40b177a2..537e1fc1 100644
--- a/src/block/manager.rs
+++ b/src/block/manager.rs
@@ -4,7 +4,6 @@ use std::sync::Arc;
use std::time::Duration;
use arc_swap::{ArcSwap, ArcSwapOption};
-use async_trait::async_trait;
use bytes::Bytes;
use rand::prelude::*;
use serde::{Deserialize, Serialize};
@@ -688,7 +687,6 @@ impl BlockManager {
}
}
-#[async_trait]
impl StreamingEndpointHandler<BlockRpc> for BlockManager {
async fn handle(self: &Arc<Self>, mut message: Req<BlockRpc>, _from: NodeID) -> Resp<BlockRpc> {
match message.msg() {