diff --git a/veilid-core/src/intf/native/system.rs b/veilid-core/src/intf/native/system.rs index 81b5d073..8a81969c 100644 --- a/veilid-core/src/intf/native/system.rs +++ b/veilid-core/src/intf/native/system.rs @@ -84,6 +84,7 @@ cfg_if! { } } +#[expect(clippy::unused_async)] pub async fn txt_lookup>(host: S) -> EyreResult> { cfg_if! { if #[cfg(target_os = "windows")] { @@ -156,6 +157,7 @@ pub async fn txt_lookup>(host: S) -> EyreResult> { } } +#[expect(clippy::unused_async)] pub async fn ptr_lookup(ip_addr: IpAddr) -> EyreResult { cfg_if! { if #[cfg(target_os = "windows")] { diff --git a/veilid-tools/src/ipc/ipc_tokio/windows.rs b/veilid-tools/src/ipc/ipc_tokio/windows.rs index d8e88840..3d157db1 100644 --- a/veilid-tools/src/ipc/ipc_tokio/windows.rs +++ b/veilid-tools/src/ipc/ipc_tokio/windows.rs @@ -21,6 +21,7 @@ pub struct IpcStream { } impl IpcStream { + #[expect(clippy::unused_async)] pub async fn connect>(path: P) -> io::Result { Ok(IpcStream { internal: IpcStreamInternal::Client( @@ -116,7 +117,7 @@ impl FuturesAsyncWrite for IpcStream { pub struct IpcIncoming<'a> { listener: IpcListener, - unord: FuturesUnordered>>, + unord: FuturesUnordered>>, phantom: std::marker::PhantomData<&'a ()>, } @@ -163,7 +164,7 @@ impl IpcListener { /// Accepts a new incoming connection to this listener. #[must_use] - pub fn accept(&self) -> PinBoxFuture> { + pub fn accept(&self) -> PinBoxFutureStatic> { if self.path.is_none() { return Box::pin(std::future::ready(Err(io::Error::from( io::ErrorKind::NotConnected, diff --git a/veilid-tools/src/network_interfaces/windows.rs b/veilid-tools/src/network_interfaces/windows.rs index 661f8d69..7cebd2a5 100644 --- a/veilid-tools/src/network_interfaces/windows.rs +++ b/veilid-tools/src/network_interfaces/windows.rs @@ -54,6 +54,7 @@ impl PlatformSupportWindows { } } + #[expect(clippy::unused_async)] pub async fn get_interfaces( &mut self, interfaces: &mut BTreeMap,