struct ProbeInFlight {
inner: Arc<BridgeInner>,
session_id: String,
taken_at: Instant,
}Expand description
Holds a seat’s probe mark while its probe is out, and releases it however the probe ends: an answer, an error, a timeout, or a dispatch that never reached a client at all.
A guard rather than a release at each exit, because the exits multiply - the timeout returns early, and the closure is dropped uncalled when no client is bound.
It releases only the mark it took: one reclaimed by a later ask belongs to that ask’s probe, and a late drop must not clear the live mark.
Fields§
§inner: Arc<BridgeInner>§session_id: String§taken_at: InstantTrait Implementations§
Source§impl Drop for ProbeInFlight
impl Drop for ProbeInFlight
Auto Trait Implementations§
impl !RefUnwindSafe for ProbeInFlight
impl !UnwindSafe for ProbeInFlight
impl Freeze for ProbeInFlight
impl Send for ProbeInFlight
impl Sync for ProbeInFlight
impl Unpin for ProbeInFlight
impl UnsafeUnpin for ProbeInFlight
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