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