pub fn error_hint(e: &Error) -> ErrorHintExpand description
Returns a hint structure that can be formatter to the log output
ยงExample
use async_listen::error_hint;
eprintln!("Error: {}. {}", e, error_hint(&e));Error message might look like:
Error: Too many open files (os error 24). Increase per-process open file limit https://bit.ly/async-err#EMFILESee error description for a list of the errors that can return a hint.
See ErrorHint for more info on customizing the output