pub struct WireTapLifecycle { /* private fields */ }Expand description
A lifecycle handle for a WireTapService implementing graceful-drain-
then-abort teardown via StepLifecycle::shutdown.
Obtain via WireTapService::lifecycle. The handle shares the same
Arc<WireTapShared> as the service, so shutdown observes the live
admission gate and task tracker.
Trait Implementations§
Source§impl Debug for WireTapLifecycle
impl Debug for WireTapLifecycle
Source§impl StepLifecycle for WireTapLifecycle
impl StepLifecycle for WireTapLifecycle
Auto Trait Implementations§
impl !Freeze for WireTapLifecycle
impl RefUnwindSafe for WireTapLifecycle
impl Send for WireTapLifecycle
impl Sync for WireTapLifecycle
impl Unpin for WireTapLifecycle
impl UnsafeUnpin for WireTapLifecycle
impl UnwindSafe for WireTapLifecycle
Blanket Implementations§
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