pub struct RerouteTiming { /* private fields */ }Expand description
Real crash-to-reroute latency along the event path.
Records the instant the consumer’s trapped EXIT signal was observed inside the conversation actor’s link handler and the instant the dispatcher begins re-routing after releasing the failed attempt.
crash_observed is captured inside the EXIT handler the moment the beamr
process link fires (see ActorCore::handle_participant_exit); it is not a
post-detection sample. reroute_initiated is captured before the next
selection, after observation and attempt cleanup.
Implementations§
Source§impl RerouteTiming
impl RerouteTiming
Sourcepub fn detection_to_reroute(&self) -> Duration
pub fn detection_to_reroute(&self) -> Duration
Elapsed time between the EXIT signal firing and re-route initiation.
Sourcepub const fn crash_observed(&self) -> Instant
pub const fn crash_observed(&self) -> Instant
The instant the consumer’s EXIT signal was observed in the link handler.
Trait Implementations§
Source§impl Clone for RerouteTiming
impl Clone for RerouteTiming
impl Copy for RerouteTiming
Source§impl Debug for RerouteTiming
impl Debug for RerouteTiming
impl Eq for RerouteTiming
Source§impl PartialEq for RerouteTiming
impl PartialEq for RerouteTiming
impl StructuralPartialEq for RerouteTiming
Auto Trait Implementations§
impl Freeze for RerouteTiming
impl RefUnwindSafe for RerouteTiming
impl Send for RerouteTiming
impl Sync for RerouteTiming
impl Unpin for RerouteTiming
impl UnsafeUnpin for RerouteTiming
impl UnwindSafe for RerouteTiming
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.