pub struct NoBody;Expand description
The empty body of a WebSocket handshake request. An HTTP request with no
body sends Bytes::new().
Trait Implementations§
Auto Trait Implementations§
impl Forget for NoBody
impl Freeze for NoBody
impl Move for NoBody
impl RefUnwindSafe for NoBody
impl Send for NoBody
impl Sync for NoBody
impl Unpin for NoBody
impl UnsafeUnpin for NoBody
impl UnwindSafe for NoBody
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