Enum micro_http::protocol::PayloadItem
source · pub enum PayloadItem {
Chunk(Bytes),
Eof,
}Expand description
payload item produced from payload decoder
Variants§
Implementations§
Trait Implementations§
source§impl Clone for PayloadItem
impl Clone for PayloadItem
source§fn clone(&self) -> PayloadItem
fn clone(&self) -> PayloadItem
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for PayloadItem
impl Debug for PayloadItem
source§impl PartialEq<PayloadItem> for PayloadItem
impl PartialEq<PayloadItem> for PayloadItem
source§fn eq(&self, other: &PayloadItem) -> bool
fn eq(&self, other: &PayloadItem) -> bool
This method tests for
self and other values to be equal, and is used
by ==.