Skip to main content

base_scheduler/
address_resolve_error_kind.rs

1// Released under the MIT License.
2// Copyright, 2026, by Samuel Williams.
3
4/// Portable classification of resolver failures. Native error codes remain available separately and are not errno values.
5#[derive(Clone, Copy, Debug, Eq, PartialEq)]
6#[non_exhaustive]
7pub enum AddressResolveErrorKind {
8    TemporaryFailure,
9    NameNotFound,
10    ServiceUnavailable,
11    InvalidHints,
12    PermanentFailure,
13    OutOfMemory,
14    System,
15    Other,
16}