Enum httparse::Status [] [src]

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

Variants

Complete
Partial

Methods

impl<T> Status<T>

fn is_complete(&self) -> bool

fn is_partial(&self) -> bool

fn unwrap(self) -> T

Trait Implementations

Derived Implementations

impl<T: Debug> Debug for Status<T> where T: Debug

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

impl<T: PartialEq> PartialEq for Status<T> where T: PartialEq

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

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

impl<T: Clone> Clone for Status<T> where T: Clone

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

fn clone_from(&mut self, source: &Self)

impl<T: Copy> Copy for Status<T> where T: Copy