Struct ntex::http::h1::PayloadDecoder [−][src]
pub struct PayloadDecoder { /* fields omitted */ }
Expand description
Decoders to handle different Transfer-Encodings.
If a message body does not include a Transfer-Encoding, it should include a Content-Length header.
Trait Implementations
type Item = PayloadItem
type Item = PayloadItem
The type of decoded frames.
type Error = ParseError
type Error = ParseError
The type of unrecoverable frame decoding errors. Read more
Attempts to decode a frame from the provided buffer of bytes.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl !RefUnwindSafe for PayloadDecoder
impl Send for PayloadDecoder
impl !Sync for PayloadDecoder
impl Unpin for PayloadDecoder
impl UnwindSafe for PayloadDecoder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more