Enum http1_spec::body_framing::BodyFraming
source · pub enum BodyFraming {
ContentLength(usize),
Chunked,
Neither,
}
Variants§
Implementations§
source§impl BodyFraming
impl BodyFraming
Trait Implementations§
source§impl Clone for BodyFraming
impl Clone for BodyFraming
source§fn clone(&self) -> BodyFraming
fn clone(&self) -> BodyFraming
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 BodyFraming
impl Debug for BodyFraming
source§impl PartialEq<BodyFraming> for BodyFraming
impl PartialEq<BodyFraming> for BodyFraming
source§fn eq(&self, other: &BodyFraming) -> bool
fn eq(&self, other: &BodyFraming) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.