map_restore_error_kind

Function map_restore_error_kind 

Source
pub const fn map_restore_error_kind(kind: ErrorKind) -> ErrorId
Expand description

Map restore error kinds to stable ErrorId for telemetry.

Keep this conservative to support older stable compilers; many ErrorKind variants (e.g., NotADirectory, IsADirectory) were stabilized later.