Struct WithGracefulShutdown
struct WithGracefulShutdown<L, M, S, F> { ... }
Serve future with graceful shutdown enabled.
Implementations
impl<L, M, S, F> WithGracefulShutdown<L, M, S, F>
fn local_addr(self: &Self) -> io::Result<<L as >::Addr>Returns the local address this server is bound to.
impl<L, M, S, F> Debug for WithGracefulShutdown<L, M, S, F>
fn fmt(self: &Self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result
impl<L, M, S, F> Freeze for WithGracefulShutdown<L, M, S, F>
impl<L, M, S, F> IntoFuture for WithGracefulShutdown<L, M, S, F>
fn into_future(self: Self) -> <Self as >::IntoFuture
impl<L, M, S, F> RefUnwindSafe for WithGracefulShutdown<L, M, S, F>
impl<L, M, S, F> Send for WithGracefulShutdown<L, M, S, F>
impl<L, M, S, F> Sync for WithGracefulShutdown<L, M, S, F>
impl<L, M, S, F> Unpin for WithGracefulShutdown<L, M, S, F>
impl<L, M, S, F> UnwindSafe for WithGracefulShutdown<L, M, S, F>
impl<T> Any for WithGracefulShutdown<L, M, S, F>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for WithGracefulShutdown<L, M, S, F>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for WithGracefulShutdown<L, M, S, F>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for WithGracefulShutdown<L, M, S, F>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Instrument for WithGracefulShutdown<L, M, S, F>
impl<T> Same for WithGracefulShutdown<L, M, S, F>
impl<T> WithSubscriber for WithGracefulShutdown<L, M, S, F>
impl<T, U> Into for WithGracefulShutdown<L, M, S, F>
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 WithGracefulShutdown<L, M, S, F>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for WithGracefulShutdown<L, M, S, F>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>
impl<V, T> VZip for WithGracefulShutdown<L, M, S, F>
fn vzip(self: Self) -> V