pub struct MessageBody { /* private fields */ }Expand description
Future that resolves to a complete http message body.
Implementations§
Source§impl MessageBody
impl MessageBody
Sourcepub fn new(res: &ClientResponse) -> MessageBody ⓘ
pub fn new(res: &ClientResponse) -> MessageBody ⓘ
Create MessageBody for request.
Trait Implementations§
Source§impl Debug for MessageBody
impl Debug for MessageBody
Source§impl Future for MessageBody
impl Future for MessageBody
Auto Trait Implementations§
impl Freeze for MessageBody
impl !RefUnwindSafe for MessageBody
impl !Send for MessageBody
impl !Sync for MessageBody
impl Unpin for MessageBody
impl UnsafeUnpin for MessageBody
impl !UnwindSafe for MessageBody
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
Source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
Source§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
Source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more