#[non_exhaustive]pub enum UrlencodedEvent<'p> {
Pair(RawPair<'p>),
NeedInput,
End,
}Expand description
What a step of the streaming parser completed.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Pair(RawPair<'p>)
One non-empty name=value sequence, undecoded.
NeedInput
Every byte of the input was consumed or held; pass the next chunk.
End
The body is complete (only after eof = true).
Trait Implementations§
Source§impl<'p> Clone for UrlencodedEvent<'p>
impl<'p> Clone for UrlencodedEvent<'p>
impl<'p> Copy for UrlencodedEvent<'p>
Auto Trait Implementations§
impl<'p> Forget for UrlencodedEvent<'p>
impl<'p> Freeze for UrlencodedEvent<'p>
impl<'p> RefUnwindSafe for UrlencodedEvent<'p>
impl<'p> Send for UrlencodedEvent<'p>
impl<'p> Sync for UrlencodedEvent<'p>
impl<'p> Unpin for UrlencodedEvent<'p>
impl<'p> UnsafeUnpin for UrlencodedEvent<'p>
impl<'p> UnwindSafe for UrlencodedEvent<'p>
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