pub struct ReadBody<T>(/* private fields */);
Expand description
Wraps a body, which implements Read
Trait Implementations§
Source§impl<T: Read> OutgoingBody for ReadBody<T>
impl<T: Read> OutgoingBody for ReadBody<T>
fn write(self, body: OutgoingBody, stream: OutputStream) -> Result<()>
impl<T: Copy> Copy for ReadBody<T>
Auto Trait Implementations§
impl<T> Freeze for ReadBody<T>where
T: Freeze,
impl<T> RefUnwindSafe for ReadBody<T>where
T: RefUnwindSafe,
impl<T> Send for ReadBody<T>where
T: Send,
impl<T> Sync for ReadBody<T>where
T: Sync,
impl<T> Unpin for ReadBody<T>where
T: Unpin,
impl<T> UnwindSafe for ReadBody<T>where
T: 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