pub struct IncomingBody<Registry: PollableRegistry> { /* private fields */ }Implementations§
Source§impl<Registry> IncomingBody<Registry>where
Registry: PollableRegistry,
impl<Registry> IncomingBody<Registry>where
Registry: PollableRegistry,
pub fn new(body: IncomingBody, registry: Registry) -> Result<Self, Error>
pub fn stream(&mut self) -> &mut InputStream<Registry>
pub fn finish(self) -> FutureTrailers<Registry> ⓘ
Trait Implementations§
Source§impl<Registry> From<IncomingBody<Registry>> for IncomingHttpBody<Registry>where
Registry: PollableRegistry,
impl<Registry> From<IncomingBody<Registry>> for IncomingHttpBody<Registry>where
Registry: PollableRegistry,
Source§fn from(body: IncomingBody<Registry>) -> Self
fn from(body: IncomingBody<Registry>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<Registry> !Freeze for IncomingBody<Registry>
impl<Registry> RefUnwindSafe for IncomingBody<Registry>
impl<Registry> Send for IncomingBody<Registry>
impl<Registry> Sync for IncomingBody<Registry>
impl<Registry> Unpin for IncomingBody<Registry>
impl<Registry> UnsafeUnpin for IncomingBody<Registry>
impl<Registry> UnwindSafe for IncomingBody<Registry>
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