pub enum ParseStatus {
Complete,
Incomplete,
}Expand description
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§
Source§impl Debug for ParseStatus
impl Debug for ParseStatus
Source§impl PartialEq for ParseStatus
impl PartialEq for ParseStatus
impl Eq for ParseStatus
impl StructuralPartialEq for ParseStatus
Auto Trait Implementations§
impl Freeze for ParseStatus
impl RefUnwindSafe for ParseStatus
impl Send for ParseStatus
impl Sync for ParseStatus
impl Unpin for ParseStatus
impl UnwindSafe for ParseStatus
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more