pub struct StatsResult {
pub uptime_ms: u64,
pub graph_version_hash: String,
pub listeners: Vec<ListenerStatus>,
pub flow_log_subscribers: usize,
pub tracing_log_subscribers: usize,
}Fields§
§uptime_ms: u64§graph_version_hash: StringLower-case hex of the active flow-graph’s SHA-256 version hash.
listeners: Vec<ListenerStatus>§flow_log_subscribers: usizeLive tail_flow subscribers — BroadcastSink::subscriber_count.
Tests use this to wait for streaming readiness rather than
sleeping a fixed interval.
tracing_log_subscribers: usizeLive tail_log subscribers — BroadcastTracingLayer::subscriber_count.
Trait Implementations§
Source§impl Clone for StatsResult
impl Clone for StatsResult
Source§fn clone(&self) -> StatsResult
fn clone(&self) -> StatsResult
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 moreSource§impl Debug for StatsResult
impl Debug for StatsResult
Source§impl<'de> Deserialize<'de> for StatsResult
impl<'de> Deserialize<'de> for StatsResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for StatsResult
impl PartialEq for StatsResult
Source§fn eq(&self, other: &StatsResult) -> bool
fn eq(&self, other: &StatsResult) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StatsResult
impl Serialize for StatsResult
impl Eq for StatsResult
impl StructuralPartialEq for StatsResult
Auto Trait Implementations§
impl Freeze for StatsResult
impl RefUnwindSafe for StatsResult
impl Send for StatsResult
impl Sync for StatsResult
impl Unpin for StatsResult
impl UnsafeUnpin for StatsResult
impl UnwindSafe for StatsResult
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