pub struct Connection<'scope> { /* private fields */ }Expand description
An established HTTP/1 session retaining its transport and codec buffers. Direct requests take and return its directions in the calling task; supervised work handles construction, queued calls and retirement.
Trait Implementations§
Auto Trait Implementations§
impl<'scope> Freeze for Connection<'scope>
impl<'scope> RefUnwindSafe for Connection<'scope>
impl<'scope> Send for Connection<'scope>
impl<'scope> Sync for Connection<'scope>
impl<'scope> Unpin for Connection<'scope>
impl<'scope> UnsafeUnpin for Connection<'scope>
impl<'scope> UnwindSafe for Connection<'scope>
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