Module raw

Module raw 

Source
Expand description

Low-level tools for building and manipulating Response bodies.

Primarily useful if you are working with Response::set_raw_body.

Structs§

Bytes
A cheaply cloneable and sliceable chunk of contiguous memory.
BytesMut
A unique reference to a contiguous slice of memory.
Empty
A body that is always empty.
Full
A body that consists of a single chunk.

Traits§

RawBody
Trait representing a streaming Response body.