pub struct Connection<F> { /* private fields */ }Expand description
Notification that a connection has been accepted.
Implementations§
Source§impl<F> Connection<F>
impl<F> Connection<F>
Sourcepub fn ack(self) -> ControlAck<F>
pub fn ack(self) -> ControlAck<F>
Accepts the connection and starts HTTP request processing.
Trait Implementations§
Auto Trait Implementations§
impl<F> !Freeze for Connection<F>
impl<F> !RefUnwindSafe for Connection<F>
impl<F> !Send for Connection<F>
impl<F> !Sync for Connection<F>
impl<F> !UnwindSafe for Connection<F>
impl<F> Unpin for Connection<F>where
F: Unpin,
impl<F> UnsafeUnpin for Connection<F>
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