pub struct Http1<B> { /* private fields */ }Expand description
An HTTP/1.1 client that can connect to a server and send HTTP requests/receive HTTP responses. Supports the HTTP/1.1 protocol upgrade mechanism.
Trait Implementations§
Auto Trait Implementations§
impl<B> !RefUnwindSafe for Http1<B>
impl<B> !UnwindSafe for Http1<B>
impl<B> Freeze for Http1<B>
impl<B> Send for Http1<B>where
B: Send,
impl<B> Sync for Http1<B>where
B: Send,
impl<B> Unpin for Http1<B>
impl<B> UnsafeUnpin for Http1<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