pub struct ParseResults {
pub status: ParseStatus,
pub consumed: usize,
}Expand description
This holds the values returned by MessageHeaders::parse.
Fields§
§status: ParseStatusThis indicates the state of the parser.
consumed: usizeThis is the number of bytes of input consumed by the last
MessageHeaders::parse call.
Trait Implementations§
Source§impl Debug for ParseResults
impl Debug for ParseResults
Source§impl PartialEq for ParseResults
impl PartialEq for ParseResults
impl Eq for ParseResults
impl StructuralPartialEq for ParseResults
Auto Trait Implementations§
impl Freeze for ParseResults
impl RefUnwindSafe for ParseResults
impl Send for ParseResults
impl Sync for ParseResults
impl Unpin for ParseResults
impl UnwindSafe for ParseResults
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