Function overnet_core::log_errors
source ยท pub async fn log_errors(
f: impl Send + Future<Output = Result<(), Error>>,
message: impl Display,
)
Expand description
Takes a future that returns an error, and transforms it to a future that logs said error