[−][src]Struct hyper::server::conn::Connecting
A future building a new Service
to a Connection
.
Wraps the future returned from MakeService
into one that returns
a Connection
.
Trait Implementations
impl<I: Debug, F: Debug, E: Debug> Debug for Connecting<I, F, E>
[src][+]
impl<I, F, E, S, B> Future for Connecting<I, F, E> where
I: AsyncRead + AsyncWrite,
F: Future<Item = S>,
S: Service<ReqBody = Body, ResBody = B>,
B: Payload,
E: H2Exec<S::Future, B>,
[src][+]
I: AsyncRead + AsyncWrite,
F: Future<Item = S>,
S: Service<ReqBody = Body, ResBody = B>,
B: Payload,
E: H2Exec<S::Future, B>,
Auto Trait Implementations
impl<I, F, E> Send for Connecting<I, F, E> where
E: Send,
F: Send,
I: Send,
E: Send,
F: Send,
I: Send,
impl<I, F, E> Sync for Connecting<I, F, E> where
E: Sync,
F: Sync,
I: Sync,
E: Sync,
F: Sync,
I: 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,
type Future = F
The future that this type can be converted into.
type Item = <F as Future>::Item
The item that the future may resolve with.
type Error = <F as Future>::Error
The error that the future may resolve with.
fn into_future(self) -> F
[src][−]
impl<T> FutureExt for T where
T: Future + ?Sized,
[src][−]
T: Future + ?Sized,
fn timeout(self, timeout: Duration) -> Timeout<Self>
[src][−]
Creates a new future which allows self
until timeout
. Read more