pub struct Telemetry {
pub total_comparisons: u64,
pub total_moves: u64,
pub memory_current: usize,
pub memory_peak: usize,
pub highlights: Vec<usize>,
pub markers: Markers,
pub status_text: String,
pub progress_hint: f32,
}Expand description
Telemetry data returned after each step
Fields§
§total_comparisons: u64Total comparisons so far
total_moves: u64Total moves so far
memory_current: usizeCurrent auxiliary memory usage in bytes
memory_peak: usizePeak auxiliary memory usage in bytes
highlights: Vec<usize>Indices to highlight in visualization
markers: MarkersAlgorithm-specific markers
status_text: StringHuman-readable description of current operation
progress_hint: f32Progress estimate (0.0 to 1.0)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Telemetry
impl RefUnwindSafe for Telemetry
impl Send for Telemetry
impl Sync for Telemetry
impl Unpin for Telemetry
impl UnwindSafe for Telemetry
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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