Expand description
Alien Client SDK
Auto-generated from OpenAPI spec with custom error conversion support.
§Error Handling
For SDK API calls, use SdkResultExt::into_sdk_error() instead of
.into_alien_error() to preserve structured API error information:
ⓘ
use alien_client_sdk::SdkResultExt;
// ✅ Good: preserves API error code, message, retryable flag
client.some_method().send().await.into_sdk_error().context(...)?
// ❌ Bad: loses structured error information
client.some_method().send().await.into_alien_error().context(...)?For non-SDK errors (serde, std, etc.), continue using .into_alien_error().
Modules§
- builder
- Types for composing operation parameters.
- prelude
- Items consumers will typically use such as the Client.
- types
- Types used as operation parameters and responses.
Structs§
- Byte
Stream - Untyped byte stream used for both success and error responses.
- Client
- Client for Alien API
- Response
Value - Typed value returned by generated client methods.
Enums§
- Error
- Error produced by generated client methods.
Traits§
- Client
Info - Interface for which an implementation is generated for all clients.
- SdkResult
Ext - Extension trait for converting SDK API results to
AlienError.
Functions§
- convert_
sdk_ error - Convert a progenitor SDK error to AlienError, preserving all details.