changed return type on Hotspot trait

This commit is contained in:
Djeeberjr 2025-06-01 15:39:59 +02:00
parent 2150fff6a5
commit c04e0ab897

View File

@ -46,7 +46,9 @@ pub trait Hotspot {
&self,
) -> impl std::future::Future<Output = Result<(), HotspotError>> + std::marker::Send;
async fn disable_hotspot(&self) -> Result<(), HotspotError>;
fn disable_hotspot(
&self,
) -> impl std::future::Future<Output = Result<(), HotspotError>> + std::marker::Send;
}
/// NetworkManager Hotspot