Skip to main content

OpenSecretResponseBody

Type Alias OpenSecretResponseBody 

Source
pub type OpenSecretResponseBody = Pin<Box<dyn Stream<Item = Result<Bytes>> + Send + 'static>>;
Expand description

A decrypted response body returned by OpenSecretClient::send_inference_request.

Ordinary responses contain one or more raw chunks. Server-sent event responses remain incremental and are forwarded without interpreting their payloads as JSON.

Aliased Typeยง

#[repr(transparent)]
pub struct OpenSecretResponseBody { /* private fields */ }