pub struct MultipartParser<S, E>{ /* private fields */ }
Expand description
A low-level parser which MultipartStream
uses.
Returns either headers of a field or a byte chunk, alternating between the two types
Unless there is an issue with using MultipartStream
you don’t normally want to use this struct
Implementations§
Trait Implementations§
Source§impl<S, E> Stream for MultipartParser<S, E>
impl<S, E> Stream for MultipartParser<S, E>
Source§type Item = Result<ParseOutput, MultipartError>
type Item = Result<ParseOutput, MultipartError>
Values yielded by the stream.
impl<'__pin, S, E> Unpin for MultipartParser<S, E>
Auto Trait Implementations§
impl<S, E> !Freeze for MultipartParser<S, E>
impl<S, E> RefUnwindSafe for MultipartParser<S, E>where
S: RefUnwindSafe,
impl<S, E> Send for MultipartParser<S, E>where
S: Send,
impl<S, E> Sync for MultipartParser<S, E>where
S: Sync,
impl<S, E> UnwindSafe for MultipartParser<S, E>where
S: UnwindSafe,
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