Enum httparse::Status [] [src]

pub enum Status<T> {
    Complete(T),
    Partial,
}

Variants

Complete(T)Partial

Methods

impl<T> Status<T>
[src]

fn is_complete(&self) -> bool

fn is_partial(&self) -> bool

fn unwrap(self) -> T

Trait Implementations

impl<T: Debug> Debug for Status<T>
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl<T: PartialEq> PartialEq for Status<T>
[src]

fn eq(&self, __arg_0: &Status<T>) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Status<T>) -> bool

This method tests for !=.

impl<T: Clone> Clone for Status<T>
[src]

fn clone(&self) -> Status<T>

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

impl<T: Copy> Copy for Status<T>
[src]