pub struct Chunk { /* fields omitted */ }
Expand description
A single HTTP-Chunk used for sending
Data with Transfer-Encoding: Chunked
Creates a new Chunk with the given Data as its
state
Serializes the Chunk into the given Buffer
by appending the final Data to the End of it
The given Size of the Chunk
Formats the value using the given formatter. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.