diff options
author | Alex <lx@deuxfleurs.fr> | 2025-02-05 19:52:00 +0000 |
---|---|---|
committer | Alex <lx@deuxfleurs.fr> | 2025-02-05 19:52:00 +0000 |
commit | d3226bfa91d4500063c5c287c6256729dcbb3f88 (patch) | |
tree | f27dad5a52a165d91edc4ffbddca16d2b1015249 /src/net/netapp.rs | |
parent | 47e87c8739d7f0d420ea6a01fea99e638414baeb (diff) | |
parent | af67626ab2bd32e94ab521607574737939a7edf3 (diff) | |
download | garage-d3226bfa91d4500063c5c287c6256729dcbb3f88.tar.gz garage-d3226bfa91d4500063c5c287c6256729dcbb3f88.zip |
Merge pull request 'remove uses of #[async_trait]' (#952) from remove-async-trait into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/952
Diffstat (limited to 'src/net/netapp.rs')
-rw-r--r-- | src/net/netapp.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/net/netapp.rs b/src/net/netapp.rs index 77e55774..36c6fc88 100644 --- a/src/net/netapp.rs +++ b/src/net/netapp.rs @@ -5,7 +5,6 @@ use std::sync::{Arc, RwLock}; use log::{debug, error, info, trace, warn}; use arc_swap::ArcSwapOption; -use async_trait::async_trait; use serde::{Deserialize, Serialize}; use sodiumoxide::crypto::auth; @@ -457,7 +456,6 @@ impl NetApp { } } -#[async_trait] impl EndpointHandler<HelloMessage> for NetApp { async fn handle(self: &Arc<Self>, msg: &HelloMessage, from: NodeID) { debug!("Hello from {:?}: {:?}", hex::encode(&from[..8]), msg); |