pub struct Reporter {Show 14 fields
pub get_ts_requests: ReporterCounter,
pub get_ts_success: ReporterCounter,
pub timestamps_issued: ReporterCounter,
pub not_leader: ReporterCounter,
pub leader_transitions: ReporterCounter,
pub fence_transient_retries: ReporterCounter,
pub fence_latency: ReporterHistogram,
pub window_extensions: ReporterCounter,
pub window_extension_latency: ReporterHistogram,
pub ignored_commits: IgnoredCommitsByReason,
pub shutdown_watch_aborted: ReporterCounter,
pub heartbeat_task_panicked: ReporterCounter,
pub last_leader_transition: ReporterTimestamp,
pub started_at: Instant,
}Fields§
§get_ts_requests: ReporterCounter§get_ts_success: ReporterCounter§timestamps_issued: ReporterCounter§not_leader: ReporterCounter§leader_transitions: ReporterCounter§fence_transient_retries: ReporterCounter§fence_latency: ReporterHistogram§window_extensions: ReporterCounter§window_extension_latency: ReporterHistogram§ignored_commits: IgnoredCommitsByReason§shutdown_watch_aborted: ReporterCounter§heartbeat_task_panicked: ReporterCounter§last_leader_transition: ReporterTimestamp§started_at: InstantImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Reporter
impl RefUnwindSafe for Reporter
impl Send for Reporter
impl Sync for Reporter
impl Unpin for Reporter
impl UnsafeUnpin for Reporter
impl UnwindSafe for Reporter
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> 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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request