pub struct PhaseProgress {
pub percent: u8,
pub message: String,
pub items_processed: u64,
pub items_total: u64,
pub bytes_processed: u64,
pub bytes_total: u64,
pub elapsed: Duration,
}Expand description
Progress information for a boot phase
Fields§
§percent: u8Current progress (0-100)
message: StringHuman-readable status message
items_processed: u64Items processed (e.g., WAL records replayed)
items_total: u64Total items to process (0 if unknown)
bytes_processed: u64Bytes processed
bytes_total: u64Total bytes to process (0 if unknown)
elapsed: DurationTime spent in this phase
Trait Implementations§
Source§impl Clone for PhaseProgress
impl Clone for PhaseProgress
Source§fn clone(&self) -> PhaseProgress
fn clone(&self) -> PhaseProgress
Returns a duplicate of the value. Read more
1.0.0 · 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 PhaseProgress
impl Debug for PhaseProgress
Auto Trait Implementations§
impl Freeze for PhaseProgress
impl RefUnwindSafe for PhaseProgress
impl Send for PhaseProgress
impl Sync for PhaseProgress
impl Unpin for PhaseProgress
impl UnsafeUnpin for PhaseProgress
impl UnwindSafe for PhaseProgress
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