Skip to main content

BoxBody

Type Alias BoxBody 

Source
pub type BoxBody = UnsyncBoxBody<Bytes, Error>;
Expand description

The primary body type returned by the generated smithy-rs service.

This is a type-erased body that wraps UnsyncBoxBody from http-body-util. It is Send but not Sync, making it suitable for most HTTP handlers.

Aliased Typeยง

pub struct BoxBody { /* private fields */ }