Module errno

Source
Expand description

The Errno type, which is a minimal wrapper around an error code.

We define the error constants as individual consts instead of an enum because we may not know about all of the host’s error values and we don’t want unrecognized values to create undefined behavior.

Re-exports§

pub use backend::io::errno::Errno;

Functions§

retry_on_intr
Call f until it either succeeds or fails other than Errno::INTR.

Type Aliases§

Result
A specialized Result type for rustix APIs.