Skip to main content

errlog_sev_enum_string

Function errlog_sev_enum_string 

Source
pub fn errlog_sev_enum_string(severity: ErrlogSevEnum) -> &'static str
Expand description

String representation of an errlog severity.

C parity: errlogGetSevEnumString (errlog.c:391-397) — an out-of-range value yields "unknown"; the typed Rust enum cannot be out of range, so this always maps to a real name.