[−][src]Struct h2::client::Handshake
Performs the HTTP/2.0 connection handshake.
This type implements Future
, yielding a (SendRequest, Connection)
instance once the handshake has completed.
The handshake is completed once both the connection preface and the initial settings frame is sent by the client.
The handshake future does not wait for the initial settings frame from the server.
See module level documentation for more details.
Trait Implementations
impl<T, B> Debug for Handshake<T, B> where
T: AsyncRead + AsyncWrite,
T: Debug,
B: Debug + IntoBuf,
B::Buf: Debug + IntoBuf,
[src][+]
T: AsyncRead + AsyncWrite,
T: Debug,
B: Debug + IntoBuf,
B::Buf: Debug + IntoBuf,
impl<T, B> Future for Handshake<T, B> where
T: AsyncRead + AsyncWrite,
B: IntoBuf,
B::Buf: 'static,
[src][+]
T: AsyncRead + AsyncWrite,
B: IntoBuf,
B::Buf: 'static,
Auto Trait Implementations
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,
Blanket Implementations
impl<T> From for T
[src][−]
impl<T, U> Into for T where
U: From<T>,
[src][−]
U: From<T>,
impl<T, U> TryFrom for T where
T: From<U>,
[src][−]
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src][−]
impl<T> Borrow for T where
T: ?Sized,
[src][−]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src][−]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src][−]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src][−]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src][−]
impl<T> Any for T where
T: 'static + ?Sized,
[src][−]
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src][−]
impl<F> IntoFuture for F where
F: Future,
[src][−]
F: Future,