pub struct BmpPlannerStats {
pub total_blocks: usize,
pub pinned_blocks: usize,
pub total_plans: usize,
pub pending_plans: usize,
pub in_progress_plans: usize,
pub completed_plans: usize,
pub failed_plans: usize,
pub cancelled_plans: usize,
pub total_records: usize,
pub total_bytes_moved: u64,
pub total_failures: usize,
}Expand description
Aggregate statistics returned by BlockMigrationPlanner::migration_stats.
Fields§
§total_blocks: usizeTotal blocks registered.
pinned_blocks: usizeBlocks currently marked as pinned.
total_plans: usizeTotal plans ever created.
pending_plans: usizePlans in Pending state.
in_progress_plans: usizePlans in InProgress state.
completed_plans: usizePlans in Completed state.
failed_plans: usizePlans in Failed state.
cancelled_plans: usizePlans in Cancelled state.
total_records: usizeTotal execution log entries.
total_bytes_moved: u64Total bytes successfully moved across all completed records.
total_failures: usizeNumber of records where success == false.
Trait Implementations§
Source§impl Clone for BmpPlannerStats
impl Clone for BmpPlannerStats
Source§fn clone(&self) -> BmpPlannerStats
fn clone(&self) -> BmpPlannerStats
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 BmpPlannerStats
impl Debug for BmpPlannerStats
Source§impl Default for BmpPlannerStats
impl Default for BmpPlannerStats
Source§fn default() -> BmpPlannerStats
fn default() -> BmpPlannerStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BmpPlannerStats
impl RefUnwindSafe for BmpPlannerStats
impl Send for BmpPlannerStats
impl Sync for BmpPlannerStats
impl Unpin for BmpPlannerStats
impl UnsafeUnpin for BmpPlannerStats
impl UnwindSafe for BmpPlannerStats
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 more