pub trait SdkResultExtReadingBody<T> {
// Required method
fn into_sdk_error_reading_body(
self,
) -> impl Future<Output = Result<T, AlienError<GenericError>>> + Send;
}Expand description
Async counterpart for operations whose OpenAPI schema does not describe every error status. Progenitor leaves those response bodies unread, so an async adapter is required to preserve the structured Alien error payload.
Required Methods§
fn into_sdk_error_reading_body( self, ) -> impl Future<Output = Result<T, AlienError<GenericError>>> + Send
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".