pub struct Connection<IO: AsyncRead + AsyncWrite + Unpin> { /* private fields */ }
Expand description
Server H/2 connection that wraps underlying I/O resource.
Implementations§
Auto Trait Implementations§
impl<IO> !Freeze for Connection<IO>
impl<IO> !RefUnwindSafe for Connection<IO>
impl<IO> Send for Connection<IO>where
IO: Send,
impl<IO> Sync for Connection<IO>where
IO: Sync,
impl<IO> Unpin for Connection<IO>
impl<IO> !UnwindSafe for Connection<IO>
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