#[non_exhaustive]pub enum ProposalTelemetryCounter {
MoveFamilyProposals,
AcceptedTransitions,
RejectedTransitions,
}Expand description
Proposal-statistics counter category used in result telemetry diagnostics.
Use this with CheckpointResumeFailure::ProposalCounterOverflow to
distinguish which proposal telemetry counter could not be represented
without parsing display text.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
MoveFamilyProposals
Selected move-family proposal counter.
AcceptedTransitions
Accepted proposal transition counter.
RejectedTransitions
Rejected proposal transition counter.
Trait Implementations§
Source§impl Clone for ProposalTelemetryCounter
impl Clone for ProposalTelemetryCounter
Source§fn clone(&self) -> ProposalTelemetryCounter
fn clone(&self) -> ProposalTelemetryCounter
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 ProposalTelemetryCounter
impl Debug for ProposalTelemetryCounter
Source§impl Display for ProposalTelemetryCounter
impl Display for ProposalTelemetryCounter
Source§impl Hash for ProposalTelemetryCounter
impl Hash for ProposalTelemetryCounter
Source§impl PartialEq for ProposalTelemetryCounter
impl PartialEq for ProposalTelemetryCounter
Source§fn eq(&self, other: &ProposalTelemetryCounter) -> bool
fn eq(&self, other: &ProposalTelemetryCounter) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ProposalTelemetryCounter
impl Eq for ProposalTelemetryCounter
impl StructuralPartialEq for ProposalTelemetryCounter
Auto Trait Implementations§
impl Freeze for ProposalTelemetryCounter
impl RefUnwindSafe for ProposalTelemetryCounter
impl Send for ProposalTelemetryCounter
impl Sync for ProposalTelemetryCounter
impl Unpin for ProposalTelemetryCounter
impl UnsafeUnpin for ProposalTelemetryCounter
impl UnwindSafe for ProposalTelemetryCounter
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