pub struct Driver<'scope> { /* private fields */ }Expand description
Explicitly supervised HTTP progress. Poll it concurrently with client calls and body consumers. Cancellation forces cleanup; await it to join all lane retirements and socket closes. Established plaintext direct requests run in their calling tasks. Direct request/response handles must be polled or dropped during cancellation so their codecs can return. The current scoped implementation polls all supervised connection work inside this one future; it does not distribute connections across task workers. Drop provides no asynchronous join.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'scope> !RefUnwindSafe for Driver<'scope>
impl<'scope> !Sync for Driver<'scope>
impl<'scope> !UnwindSafe for Driver<'scope>
impl<'scope> Freeze for Driver<'scope>
impl<'scope> Send for Driver<'scope>
impl<'scope> Unpin for Driver<'scope>
impl<'scope> UnsafeUnpin for Driver<'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