pub struct FetchBody { /* private fields */ }Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FetchBody
impl RefUnwindSafe for FetchBody
impl Send for FetchBody
impl Sync for FetchBody
impl !Unpin for FetchBody
impl UnwindSafe for FetchBody
Blanket Implementations§
Source§impl<B> BodyExt for Bwhere
B: IntoBody,
impl<B> BodyExt for Bwhere
B: IntoBody,
async fn take_full(self) -> Result<Option<Self::Chunk>, Error>
async fn text(self) -> Result<String, Error>
async fn vec(self) -> Result<Vec<u8>, Error>
async fn bytes(self) -> Result<Bytes, Error>
async fn bytes_mut(self) -> Result<BytesMut, Error>
fn read(self) -> impl AsyncRead
fn stream(self) -> impl Stream<Item = Result<Self::Chunk, Error>>
fn into_poll_body(self) -> impl PollBody<Chunk = Self::Chunk>
fn boxed_local<'body>(
self,
) -> Pin<Box<dyn PollBody<Chunk = Self::Chunk> + 'body>>where
Self: 'body,
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