From c04e0ab8974cc16c034975aaee5dade3c4f101a7 Mon Sep 17 00:00:00 2001 From: Djeeberjr Date: Sun, 1 Jun 2025 15:39:59 +0200 Subject: [PATCH] changed return type on Hotspot trait --- src/hotspot.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/hotspot.rs b/src/hotspot.rs index d4f50ef..cc7dd89 100644 --- a/src/hotspot.rs +++ b/src/hotspot.rs @@ -46,7 +46,9 @@ pub trait Hotspot { &self, ) -> impl std::future::Future> + std::marker::Send; - async fn disable_hotspot(&self) -> Result<(), HotspotError>; + fn disable_hotspot( + &self, + ) -> impl std::future::Future> + std::marker::Send; } /// NetworkManager Hotspot