[][src]Enum rhymessage::ParseStatus

pub enum ParseStatus {
    Complete,
    Incomplete,
}

This enumerates the possible non-error states MessageHeaders can be in after parsing a bit of input.

Variants

Complete

The message headers were fully parsed and the body (if any) begins after the last byte consumed.

Incomplete

The message headers have not yet been fully parsed.

The user is expected to call parse again with more input, starting with the unparsed portion of the previous input string, and adding more to it.

Trait Implementations

impl Debug for ParseStatus[src]

impl Eq for ParseStatus[src]

impl PartialEq<ParseStatus> for ParseStatus[src]

impl StructuralEq for ParseStatus[src]

impl StructuralPartialEq for ParseStatus[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.