pub struct Remainder<R> { /* private fields */ }Expand description
The remainder of an HTTP body after the preview boundary.
cont is present only when ieof=false (i.e., more data exists and
requires a 100 Continue before the client sends it).
Implementations§
Source§impl<R> Remainder<R>
impl<R> Remainder<R>
pub const fn new(reader: R, cont: Option<ContinueHandle>) -> Self
pub async fn continue_if_needed(&mut self) -> IcapResult<()>
pub fn take_reader(self) -> R
Trait Implementations§
Auto Trait Implementations§
impl<R> !RefUnwindSafe for Remainder<R>
impl<R> !UnwindSafe for Remainder<R>
impl<R> Freeze for Remainder<R>where
R: Freeze,
impl<R> Send for Remainder<R>where
R: Send,
impl<R> Sync for Remainder<R>where
R: Sync,
impl<R> Unpin for Remainder<R>where
R: Unpin,
impl<R> UnsafeUnpin for Remainder<R>where
R: UnsafeUnpin,
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