pub enum HttpServerShutdown {
Quiescent,
Nonquiescent(HttpNonquiescentShutdown),
}Expand description
The complete outcome of BoundHttpServer::serve.
Normal shutdown returns Self::Quiescent. A bounded timeout returns
Self::Nonquiescent and transfers the still-live child handles directly
to the caller, preserving structured ownership without a global registry.
Variants§
Quiescent
The listener stopped and every connection child was joined.
Nonquiescent(HttpNonquiescentShutdown)
The listener stopped, but this caller now owns explicit settlement of the retained connection children.
Auto Trait Implementations§
impl !RefUnwindSafe for HttpServerShutdown
impl !UnwindSafe for HttpServerShutdown
impl Freeze for HttpServerShutdown
impl Send for HttpServerShutdown
impl Sync for HttpServerShutdown
impl Unpin for HttpServerShutdown
impl UnsafeUnpin for HttpServerShutdown
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).