Struct UpgradeableConnection
struct UpgradeableConnection<T, S> { ... }
where
S: HttpService<crate::body::Incoming>
A future binding a connection with a Service with Upgrade support.
Implementations
impl<I, B, S> UpgradeableConnection<I, S>
fn graceful_shutdown(self: Pin<&mut Self>)Start a graceful shutdown process for this connection.
This
Connectionshould continue to be polled until shutdown can finish.
impl<F> IntoFuture for UpgradeableConnection<T, S>
fn into_future(self: Self) -> <F as IntoFuture>::IntoFuture
impl<F, T, E> TryFuture for UpgradeableConnection<T, S>
fn try_poll(self: Pin<&mut F>, cx: &mut Context<'_>) -> Poll<<F as Future>::Output>
impl<Fut> TryFutureExt for UpgradeableConnection<T, S>
impl<I, B, S> Future for UpgradeableConnection<I, S>
fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<<Self as >::Output>
impl<T> Any for UpgradeableConnection<T, S>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for UpgradeableConnection<T, S>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for UpgradeableConnection<T, S>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for UpgradeableConnection<T, S>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> FutureExt for UpgradeableConnection<T, S>
impl<T> Instrument for UpgradeableConnection<T, S>
impl<T> WithSubscriber for UpgradeableConnection<T, S>
impl<T, S> Freeze for UpgradeableConnection<T, S>
impl<T, S> RefUnwindSafe for UpgradeableConnection<T, S>
impl<T, S> Send for UpgradeableConnection<T, S>
impl<T, S> Sync for UpgradeableConnection<T, S>
impl<T, S> Unpin for UpgradeableConnection<T, S>
impl<T, S> UnwindSafe for UpgradeableConnection<T, S>
impl<T, U> Into for UpgradeableConnection<T, S>
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for UpgradeableConnection<T, S>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for UpgradeableConnection<T, S>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>