pub struct Body<R> { /* private fields */ }Implementations§
Source§impl<'a> Body<SendRead<'a>>
impl<'a> Body<SendRead<'a>>
pub fn builder() -> BodyBuilder<SendRead<'a>>
pub fn content_type(&self) -> Mime
Trait Implementations§
Source§impl<R> Stream for Body<R>
impl<R> Stream for Body<R>
Auto Trait Implementations§
impl<R> Freeze for Body<R>where
R: Freeze,
impl<R> RefUnwindSafe for Body<R>where
R: RefUnwindSafe,
impl<R> Send for Body<R>where
R: Send,
impl<R> Sync for Body<R>where
R: Sync,
impl<R> Unpin for Body<R>where
R: Unpin,
impl<R> UnwindSafe for Body<R>where
R: 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