Skip to main content

Module status

Module status 

Source
Expand description

OS-style status codes and small conversion helpers. Small OS-style status codes.

Many kernels prefer returning small integer status codes rather than rich error types. This module provides:

Enums§

Status
Compact status codes commonly used in OS code.

Traits§

IntoStatus
Converts a value into Status using a caller-provided error code.
OptionIntoStatus
Converts an Option into a KResult.

Type Aliases§

KResult
Kernel-style result type.