pub struct MultipartReader<'b, R, const BUF: usize, const LINE: usize = 512, const MAX_HEADERS: usize = 16> { /* private fields */ }Expand description
Drives a Parser from a blocking embedded_io::Read with a BUF-byte
buffer (BUF >= parser.min_buffer()).
Implementations§
Source§impl<'b, R: Read, const BUF: usize, const LINE: usize, const MAX_HEADERS: usize> MultipartReader<'b, R, BUF, LINE, MAX_HEADERS>
impl<'b, R: Read, const BUF: usize, const LINE: usize, const MAX_HEADERS: usize> MultipartReader<'b, R, BUF, LINE, MAX_HEADERS>
Sourcepub fn into_inner(self) -> R
pub fn into_inner(self) -> R
Returns the reader.
Auto Trait Implementations§
impl<'b, R, const BUF: usize, const LINE: usize, const MAX_HEADERS: usize> Freeze for MultipartReader<'b, R, BUF, LINE, MAX_HEADERS>
impl<'b, R, const BUF: usize, const LINE: usize, const MAX_HEADERS: usize> RefUnwindSafe for MultipartReader<'b, R, BUF, LINE, MAX_HEADERS>where
R: RefUnwindSafe,
Core<'b, BUF, LINE, MAX_HEADERS>: RefUnwindSafe,
impl<'b, R, const BUF: usize, const LINE: usize, const MAX_HEADERS: usize> Send for MultipartReader<'b, R, BUF, LINE, MAX_HEADERS>
impl<'b, R, const BUF: usize, const LINE: usize, const MAX_HEADERS: usize> Sync for MultipartReader<'b, R, BUF, LINE, MAX_HEADERS>
impl<'b, R, const BUF: usize, const LINE: usize, const MAX_HEADERS: usize> Unpin for MultipartReader<'b, R, BUF, LINE, MAX_HEADERS>
impl<'b, R, const BUF: usize, const LINE: usize, const MAX_HEADERS: usize> UnsafeUnpin for MultipartReader<'b, R, BUF, LINE, MAX_HEADERS>where
R: UnsafeUnpin,
Core<'b, BUF, LINE, MAX_HEADERS>: UnsafeUnpin,
impl<'b, R, const BUF: usize, const LINE: usize, const MAX_HEADERS: usize> UnwindSafe for MultipartReader<'b, R, BUF, LINE, MAX_HEADERS>where
R: UnwindSafe,
Core<'b, BUF, LINE, MAX_HEADERS>: 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