Enum micro_http::protocol::PayloadSize
source · pub enum PayloadSize {
Length(u64),
Chunked,
Empty,
}Expand description
represent the payload size
Variants§
Trait Implementations§
source§impl Clone for PayloadSize
impl Clone for PayloadSize
source§fn clone(&self) -> PayloadSize
fn clone(&self) -> PayloadSize
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 PayloadSize
impl Debug for PayloadSize
source§impl PartialEq<PayloadSize> for PayloadSize
impl PartialEq<PayloadSize> for PayloadSize
source§fn eq(&self, other: &PayloadSize) -> bool
fn eq(&self, other: &PayloadSize) -> bool
This method tests for
self and other values to be equal, and is used
by ==.