pub struct HotReloadStats {
pub successful_upgrades: u64,
pub failed_upgrades: u64,
pub total_drain_time_us: u64,
pub max_drain_time_us: u64,
pub version: u64,
}Expand description
Statistics for hot-reload operations
Fields§
§successful_upgrades: u64Number of successful upgrades
failed_upgrades: u64Number of failed upgrades
total_drain_time_us: u64Total drain time in microseconds
max_drain_time_us: u64Longest drain time
version: u64Current version number
Trait Implementations§
Source§impl Clone for HotReloadStats
impl Clone for HotReloadStats
Source§fn clone(&self) -> HotReloadStats
fn clone(&self) -> HotReloadStats
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 HotReloadStats
impl Debug for HotReloadStats
Source§impl Default for HotReloadStats
impl Default for HotReloadStats
Source§fn default() -> HotReloadStats
fn default() -> HotReloadStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HotReloadStats
impl RefUnwindSafe for HotReloadStats
impl Send for HotReloadStats
impl Sync for HotReloadStats
impl Unpin for HotReloadStats
impl UnsafeUnpin for HotReloadStats
impl UnwindSafe for HotReloadStats
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