[][src]Struct hyper::server::conn::Connecting

#[must_use = "futures do nothing unless polled"]
pub struct Connecting<I, F, E = Exec> { /* fields omitted */ }

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]

type Item = Connection<I, S, E>

The type of value that this future will resolved with if it is successful. Read more

type Error = F::Error

The type of error that this future will resolve with if it fails in a normal fashion. Read more

Auto Trait Implementations

impl<I, F, E> Send for Connecting<I, F, E> where
    E: Send,
    F: Send,
    I: Send

impl<I, F, E> Unpin for Connecting<I, F, E> where
    E: Unpin,
    F: Unpin,
    I: Unpin

impl<I, F, E> Sync for Connecting<I, F, E> where
    E: Sync,
    F: Sync,
    I: Sync

impl<I, F, E> UnwindSafe for Connecting<I, F, E> where
    E: UnwindSafe,
    F: UnwindSafe,
    I: UnwindSafe

impl<I, F, E> RefUnwindSafe for Connecting<I, F, E> where
    E: RefUnwindSafe,
    F: RefUnwindSafe,
    I: RefUnwindSafe

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<F> IntoFuture for F where
    F: Future
[src]

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.

impl<T> FutureExt for T where
    T: Future + ?Sized
[src]