Skip to main content

Crate io_error

Crate io_error 

Source
Expand description

Common errors for file systems, device I/O and network transport.

Kind is the single failure vocabulary: two bytes, an explicit stable ID, a symbolic POSIX projection (Kind::posix_errno), an embedded_io classification and a localized message. ResolveError is the typed DNS result. See the crate README for the ID bands and the rules for choosing a kind.

Structs§

UnknownKind
A reserved or unknown Xila error ID.

Enums§

GetAddrInfoError
Symbolic getaddrinfo failure codes (EAI_*). Numeric values belong to the target libc.
Kind
A semantic I/O failure with a stable Xila ID.
PosixErrno
POSIX-style errno names, including common extensions. The variants carry no target errno numbers.
ResolveError
A resolver failure with a stable Xila ID (equal to its Kind’s).