Struct h2::server::Handshake [−][src]
In progress HTTP/2.0 connection handshake future.
This type implements Future
, yielding a Connection
instance once the
handshake has completed.
The handshake is completed once the connection preface is fully received from the client and the initial settings frame is sent to the client.
The handshake future does not wait for the initial settings frame from the client.
See module level docs for more details.
Trait Implementations
impl<T, B> Debug for Handshake<T, B> where
T: AsyncRead + AsyncWrite + Debug,
B: Debug + Buf,
[src][+]
T: AsyncRead + AsyncWrite + Debug,
B: Debug + Buf,
impl<T, B: Buf> Future for Handshake<T, B> where
T: AsyncRead + AsyncWrite + Unpin,
B: Buf + 'static,
[src][+]
T: AsyncRead + AsyncWrite + Unpin,
B: Buf + 'static,
Auto Trait Implementations
impl<T, B = Bytes> !RefUnwindSafe for Handshake<T, B>
impl<T, B> Send for Handshake<T, B> where
B: Send,
T: Send,
B: Send,
T: Send,
impl<T, B> Sync for Handshake<T, B> where
B: Sync,
T: Sync,
B: Sync,
T: Sync,
impl<T, B> Unpin for Handshake<T, B> where
T: Unpin,
T: Unpin,
impl<T, B = Bytes> !UnwindSafe for Handshake<T, B>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T> FutureExt for T where
T: Future + ?Sized,
[src][+]
T: Future + ?Sized,
impl<T> Instrument for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<F> IntoFuture for F where
F: Future,
[src][+]
F: Future,
impl<T> Pointable for T
[src][+]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<F, T, E> TryFuture for F where
F: Future<Output = Result<T, E>> + ?Sized,
[src][+]
F: Future<Output = Result<T, E>> + ?Sized,
impl<Fut> TryFutureExt for Fut where
Fut: TryFuture + ?Sized,
[src][+]
Fut: TryFuture + ?Sized,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,