Enum mpart_async::server::ParseOutput
source · [−]pub enum ParseOutput {
Headers(HeaderMap<HeaderValue>),
Bytes(Bytes),
}
Expand description
The output from a MultipartParser
Variants
Headers(HeaderMap<HeaderValue>)
Headers received in the output
Bytes(Bytes)
Bytes received in the output
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ParseOutput
impl Send for ParseOutput
impl Sync for ParseOutput
impl Unpin for ParseOutput
impl UnwindSafe for ParseOutput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more