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 woke to initiate re-routing. The span between them is verifiably sub-millisecond.
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 the instant the
dispatcher’s blocked recv returns with that value.
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
Source§fn clone(&self) -> RerouteTiming
fn clone(&self) -> RerouteTiming
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl 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
Source§fn eq(&self, other: &RerouteTiming) -> bool
fn eq(&self, other: &RerouteTiming) -> bool
Tests for
self and other values to be equal, and is used by ==.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.