pub struct NoneBody<B>(/* private fields */);Expand description
None body type. B type is used to infer other types of body’s output type used together with NoneBody.
Trait Implementations§
Source§impl<B> From<NoneBody<B>> for RequestBody
impl<B> From<NoneBody<B>> for RequestBody
Source§impl<B> From<NoneBody<B>> for ResponseBody
impl<B> From<NoneBody<B>> for ResponseBody
Source§impl<B> Stream for NoneBody<B>
impl<B> Stream for NoneBody<B>
Source§type Item = Result<B, Infallible>
type Item = Result<B, Infallible>
Values yielded by the stream.
Auto Trait Implementations§
impl<B> Freeze for NoneBody<B>
impl<B> RefUnwindSafe for NoneBody<B>
impl<B> Send for NoneBody<B>
impl<B> Sync for NoneBody<B>
impl<B> Unpin for NoneBody<B>
impl<B> UnwindSafe for NoneBody<B>
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