aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/system.rs
diff options
context:
space:
mode:
authorAlex Auvolat <lx@deuxfleurs.fr>2025-02-05 20:22:16 +0100
committerAlex Auvolat <lx@deuxfleurs.fr>2025-02-05 20:22:16 +0100
commit620dc58560c7e1509ee9e56ce03d15ec502c34c8 (patch)
tree18e0e50adbfc5e9297e73451ab7b0de16ab7a6bd /src/rpc/system.rs
parent47e87c8739d7f0d420ea6a01fea99e638414baeb (diff)
downloadgarage-620dc58560c7e1509ee9e56ce03d15ec502c34c8.tar.gz
garage-620dc58560c7e1509ee9e56ce03d15ec502c34c8.zip
remove async_trait for traits declared in garage_net
Diffstat (limited to 'src/rpc/system.rs')
-rw-r--r--src/rpc/system.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/rpc/system.rs b/src/rpc/system.rs
index 0fa68218..2a52ae5d 100644
--- a/src/rpc/system.rs
+++ b/src/rpc/system.rs
@@ -7,7 +7,6 @@ use std::sync::{Arc, RwLock, RwLockReadGuard};
use std::time::{Duration, Instant};
use arc_swap::ArcSwapOption;
-use async_trait::async_trait;
use futures::join;
use serde::{Deserialize, Serialize};
use sodiumoxide::crypto::sign::ed25519;
@@ -749,7 +748,6 @@ impl System {
}
}
-#[async_trait]
impl EndpointHandler<SystemRpc> for System {
async fn handle(self: &Arc<Self>, msg: &SystemRpc, from: NodeID) -> Result<SystemRpc, Error> {
match msg {