feat: Serve never returns

This commit is contained in:
2026-10-04 05:39:25 +02:00
parent 158de17328
commit 4bea843e53
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -145,7 +145,7 @@ where
Ok(())
}
pub async fn serve<F, Fut>(callback: F) -> Result<(), Error>
pub async fn serve<F, Fut>(callback: F) -> Result<!, Error>
where
F: Fn(&str) -> Fut + Clone + Send + 'static,
Fut: Future<Output = Option<Vec<u8>>> + Send + 'static,