pub struct RuntimeExecutionProbe { /* private fields */ }Expand description
Lock-free runtime-side progress probe.
The runtime writes execution markers directly into this probe from the hot path (without calling monitor fan-out callbacks), and monitors can read a coherent snapshot from watchdog threads when diagnosing stalls.
Implementations§
Source§impl RuntimeExecutionProbe
impl RuntimeExecutionProbe
pub fn record(&self, marker: ExecutionMarker)
pub fn sequence(&self) -> usize
pub fn marker(&self) -> Option<ExecutionMarker>
Trait Implementations§
Source§impl Debug for RuntimeExecutionProbe
impl Debug for RuntimeExecutionProbe
Auto Trait Implementations§
impl !Freeze for RuntimeExecutionProbe
impl RefUnwindSafe for RuntimeExecutionProbe
impl Send for RuntimeExecutionProbe
impl Sync for RuntimeExecutionProbe
impl Unpin for RuntimeExecutionProbe
impl UnsafeUnpin for RuntimeExecutionProbe
impl UnwindSafe for RuntimeExecutionProbe
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more