Enum httparse::Status [−][src]
pub enum Status<T> {
Complete(T),
Partial,
}
Expand description
The result of a successful parse pass.
Complete
is used when the buffer contained the complete value.
Partial
is used when parsing did not reach the end of the expected value,
but no invalid data was found.
Variants
Complete(T)
The completed result.
Partial
A partial result.
Implementations
Convenience method to check if status is complete.
Convenience method to check if status is partial.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for Status<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Status<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more