Enum sozu_lib::parser::http11::Chunk
[−]
[src]
pub enum Chunk {
Initial,
Copying,
CopyingLastHeader,
Ended,
Error,
}Variants
InitialCopyingCopyingLastHeaderEndedErrorMethods
impl Chunk[src]
fn should_copy(&self) -> bool
fn should_parse(&self) -> bool
fn has_ended(&self) -> bool
fn is_error(&self) -> bool
fn parse_one(&self, buf: &[u8]) -> (usize, Chunk)
fn parse(&self, buf: &[u8]) -> (BufferMove, Chunk)
Trait Implementations
impl PartialEq for Chunk[src]
fn eq(&self, __arg_0: &Chunk) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Debug for Chunk[src]
impl Clone for Chunk[src]
fn clone(&self) -> Chunk
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more