pub struct StreamInstrumentationSnapshot {
pub id: StreamInstrumentationId,
pub name: String,
pub elements_through: u64,
pub restarts: u64,
pub state: StreamInstrumentationState,
pub started_at: SystemTime,
pub state_changed_at: SystemTime,
pub finished_at: Option<SystemTime>,
pub uptime: Duration,
}Expand description
Point-in-time values for one instrumented stream materialization.
Fields§
§id: StreamInstrumentationIdStable id assigned when the stream materialized.
name: StringUser-provided instrumentation name.
elements_through: u64Count of successful elements observed by the instrumentation boundary.
restarts: u64Restart count recorded by the owner of this materialization.
state: StreamInstrumentationStateCurrent stream state.
started_at: SystemTimeWall-clock time when this materialization registered.
state_changed_at: SystemTimeWall-clock time of the most recent state transition.
finished_at: Option<SystemTime>Wall-clock terminal timestamp when the boundary observed completion or failure.
uptime: DurationElapsed time since started_at, or until finished_at for terminal runs.
Trait Implementations§
Source§impl Clone for StreamInstrumentationSnapshot
impl Clone for StreamInstrumentationSnapshot
Source§fn clone(&self) -> StreamInstrumentationSnapshot
fn clone(&self) -> StreamInstrumentationSnapshot
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 Eq for StreamInstrumentationSnapshot
impl StructuralPartialEq for StreamInstrumentationSnapshot
Auto Trait Implementations§
impl Freeze for StreamInstrumentationSnapshot
impl RefUnwindSafe for StreamInstrumentationSnapshot
impl Send for StreamInstrumentationSnapshot
impl Sync for StreamInstrumentationSnapshot
impl Unpin for StreamInstrumentationSnapshot
impl UnsafeUnpin for StreamInstrumentationSnapshot
impl UnwindSafe for StreamInstrumentationSnapshot
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> 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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Message for T
impl<T> Message for T
Source§fn from_boxed(m: BoxedMessage) -> Result<Self, BoxedDowncastErr>
fn from_boxed(m: BoxedMessage) -> Result<Self, BoxedDowncastErr>
Convert a BoxedMessage to this concrete type
Source§fn box_message(self, pid: &ActorId) -> Result<BoxedMessage, BoxedDowncastErr>
fn box_message(self, pid: &ActorId) -> Result<BoxedMessage, BoxedDowncastErr>
Convert this message to a BoxedMessage