Skip to main content

Module error

Module error 

Source
Expand description

Error types for the Hyper client.

Error is a flat enum: one variant per failure mode, matched directly, with no kind() discriminator and no Box<dyn StdError> cause channel. That is the shape the Microsoft Pragmatic Rust Guidelines call for (M-ERRORS-CANONICAL-STRUCTS, M-ERRORS-AVOID-WRAPPING-AND-AS-DYN), and it mirrors the public hyperdb_api::Error this type feeds.

This type is internal. It is not re-exported from hyperdb-api; callers of the public API match on hyperdb_api::Error instead, which From<client::Error> produces.

Enums§

Error
The error type for Hyper client operations.

Type Aliases§

Result
Result type for Hyper client operations.