pub struct Hyperium1OutgoingBodyCopier<HttpBody, Registry>where
HttpBody: Body,
Registry: PollableRegistry,{ /* private fields */ }Implementations§
Source§impl<HttpBody, Registry> Hyperium1OutgoingBodyCopier<HttpBody, Registry>where
HttpBody: Body,
Registry: PollableRegistry,
impl<HttpBody, Registry> Hyperium1OutgoingBodyCopier<HttpBody, Registry>where
HttpBody: Body,
Registry: PollableRegistry,
pub fn new(src: HttpBody, dest: OutgoingBody<Registry>) -> Result<Self, Error>
Trait Implementations§
Source§impl<HttpBody, Registry> OutgoingBodyCopier for Hyperium1OutgoingBodyCopier<HttpBody, Registry>
impl<HttpBody, Registry> OutgoingBodyCopier for Hyperium1OutgoingBodyCopier<HttpBody, Registry>
Auto Trait Implementations§
impl<HttpBody, Registry> !Freeze for Hyperium1OutgoingBodyCopier<HttpBody, Registry>
impl<HttpBody, Registry> RefUnwindSafe for Hyperium1OutgoingBodyCopier<HttpBody, Registry>where
HttpBody: RefUnwindSafe,
<HttpBody as Body>::Data: RefUnwindSafe,
Registry: RefUnwindSafe,
<Registry as PollableRegistry>::RegisteredPollable: RefUnwindSafe,
impl<HttpBody, Registry> Send for Hyperium1OutgoingBodyCopier<HttpBody, Registry>where
HttpBody: Send,
<HttpBody as Body>::Data: Send,
Registry: Send,
<Registry as PollableRegistry>::RegisteredPollable: Send,
impl<HttpBody, Registry> Sync for Hyperium1OutgoingBodyCopier<HttpBody, Registry>where
HttpBody: Sync,
<HttpBody as Body>::Data: Sync,
Registry: Sync,
<Registry as PollableRegistry>::RegisteredPollable: Sync,
impl<HttpBody, Registry> Unpin for Hyperium1OutgoingBodyCopier<HttpBody, Registry>
impl<HttpBody, Registry> UnsafeUnpin for Hyperium1OutgoingBodyCopier<HttpBody, Registry>where
HttpBody: UnsafeUnpin,
<HttpBody as Body>::Data: UnsafeUnpin,
Registry: UnsafeUnpin,
<Registry as PollableRegistry>::RegisteredPollable: UnsafeUnpin,
impl<HttpBody, Registry> UnwindSafe for Hyperium1OutgoingBodyCopier<HttpBody, Registry>where
HttpBody: UnwindSafe,
<HttpBody as Body>::Data: UnwindSafe,
Registry: UnwindSafe,
<Registry as PollableRegistry>::RegisteredPollable: 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