Skip to main content

Module combinators

Module combinators 

Source
Expand description

Combinators for the Body trait.

Modulesยง

box_body ๐Ÿ”’
collect ๐Ÿ”’
frame ๐Ÿ”’
fuse ๐Ÿ”’
inspect_err ๐Ÿ”’
inspect_frame ๐Ÿ”’
map_err ๐Ÿ”’
map_frame ๐Ÿ”’
with_trailers ๐Ÿ”’

Structsยง

BoxBody
A boxed Body trait object.
Collect
Future that resolves into a Collected.
Frame
Future that resolves to the next frame from a Body.
Fuse
A โ€œfusedโ€ Body.
InspectErr
Body returned by the inspect_err() combinator.
InspectFrame
Body returned by the inspect_frame() combinator.
MapErr
Body returned by the map_err combinator.
MapFrame
Body returned by the map_frame combinator.
UnsyncBoxBody
A boxed Body trait object that is !Sync.
WithTrailers
Adds trailers to a body.