use futures::Future; use std::error::Error; pub(crate) fn spawn( fut: impl Future>> + Send + 'static, ) { tokio::spawn(async move { if let Err(why) = fut.await { tracing::debug!("handler error: {:?}", why); } }); }