Struct solana_core::repair::repair_service::BestRepairsStats
source · pub struct BestRepairsStats {
pub call_count: u64,
pub num_orphan_slots: u64,
pub num_orphan_repairs: u64,
pub num_best_shreds_slots: u64,
pub num_best_shreds_repairs: u64,
pub num_unknown_last_index_slots: u64,
pub num_unknown_last_index_repairs: u64,
pub num_closest_completion_slots: u64,
pub num_closest_completion_slots_path: u64,
pub num_closest_completion_repairs: u64,
pub num_repair_trees: u64,
}
Fields§
§call_count: u64
§num_orphan_slots: u64
§num_orphan_repairs: u64
§num_best_shreds_slots: u64
§num_best_shreds_repairs: u64
§num_unknown_last_index_slots: u64
§num_unknown_last_index_repairs: u64
§num_closest_completion_slots: u64
§num_closest_completion_slots_path: u64
§num_closest_completion_repairs: u64
§num_repair_trees: u64
Implementations§
source§impl BestRepairsStats
impl BestRepairsStats
pub fn update( &mut self, num_orphan_slots: u64, num_orphan_repairs: u64, num_best_shreds_slots: u64, num_best_shreds_repairs: u64, num_unknown_last_index_slots: u64, num_unknown_last_index_repairs: u64, num_closest_completion_slots: u64, num_closest_completion_slots_path: u64, num_closest_completion_repairs: u64, num_repair_trees: u64 )
Trait Implementations§
source§impl Debug for BestRepairsStats
impl Debug for BestRepairsStats
source§impl Default for BestRepairsStats
impl Default for BestRepairsStats
source§fn default() -> BestRepairsStats
fn default() -> BestRepairsStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BestRepairsStats
impl RefUnwindSafe for BestRepairsStats
impl Send for BestRepairsStats
impl Sync for BestRepairsStats
impl Unpin for BestRepairsStats
impl UnwindSafe for BestRepairsStats
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§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