Skip to main content

Module error

Module error 

Source
Expand description

Structured failures with explicit classification and retained error sources.

Structs§

ConfigError
Details describing one invalid configuration field and the reason it was rejected.
EnqueueError
A failed admission that still owns the value that was not queued.
ErrorContext
Optional identifiers and protocol details retained alongside a NetError.
NetError
An error classification, safe context, and an optional shared original cause. Formatting never includes arbitrary source text. Inspect source() explicitly when the original third-party or application details are required.
NetworkMonitorDiagnostic
Safe monitor failure context, without system messages or network identities.
WindowsReachabilityDiagnostic
The original native failure from Windows Internet-reachability sampling.

Enums§

ErrorKind
Broad classification of failures exposed by the networking API.
ErrorStage
Processing stage at which a failure was observed.
NetworkMonitorPhase
The monitor operation associated with a failure or last observed progress.
ReceiveError
Error returned while waiting for the next subscribed observation.
TryReceiveError
Non-blocking receive result describing empty, closed, lagged, or failed subscriptions.
WindowsReachabilityOperation
The native call that failed while sampling Windows Internet reachability.

Type Aliases§

BoxError
An owned, thread-safe error source retained by NetError.
Result
The crate’s standard result type.