pub struct MultipartParser { /* private fields */ }Expand description
Multipart parser
Implementations§
Source§impl MultipartParser
impl MultipartParser
Sourcepub fn from_content_type(content_type: &str) -> Option<Self>
pub fn from_content_type(content_type: &str) -> Option<Self>
Extract boundary from Content-Type header
Trait Implementations§
Source§impl Clone for MultipartParser
impl Clone for MultipartParser
Source§fn clone(&self) -> MultipartParser
fn clone(&self) -> MultipartParser
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MultipartParser
impl RefUnwindSafe for MultipartParser
impl Send for MultipartParser
impl Sync for MultipartParser
impl Unpin for MultipartParser
impl UnsafeUnpin for MultipartParser
impl UnwindSafe for MultipartParser
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