#[non_exhaustive]pub struct UrlencodedStep<'p> {
pub consumed: usize,
pub event: UrlencodedEvent<'p>,
}Expand description
One step of UrlencodedParser::parse: how much input was consumed and
what it completed.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.consumed: usizeBytes of the input consumed (or held in the scratch buffer).
event: UrlencodedEvent<'p>What the consumed bytes completed.
Trait Implementations§
Auto Trait Implementations§
impl<'p> Freeze for UrlencodedStep<'p>
impl<'p> RefUnwindSafe for UrlencodedStep<'p>
impl<'p> Send for UrlencodedStep<'p>
impl<'p> Sync for UrlencodedStep<'p>
impl<'p> Unpin for UrlencodedStep<'p>
impl<'p> UnsafeUnpin for UrlencodedStep<'p>
impl<'p> UnwindSafe for UrlencodedStep<'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