pub fn detect(override_name: Option<&str>) -> NotifyBackendExpand description
Detect the best available notification backend.
Precedence:
- Explicit
override_name(e.g. from--backendor[meta] notify_backend)."auto"andNoneboth trigger auto-detection."stderr"forcesNotifyBackend::Stderr. Unknown names produce atracing::warn!and fall through to auto-detect. - Platform-appropriate auto-detect via
which::which. NotifyBackend::Stderrfallback.