pub struct MigrationStats {
pub successful_migrations: AtomicU64,
pub failed_migrations: AtomicU64,
pub bytes_transferred: AtomicU64,
pub checkpoint_time_us: AtomicU64,
pub restore_time_us: AtomicU64,
}Expand description
Statistics for kernel migrations.
Fields§
§successful_migrations: AtomicU64Total successful migrations.
failed_migrations: AtomicU64Total failed migrations.
bytes_transferred: AtomicU64Total bytes transferred during migrations.
checkpoint_time_us: AtomicU64Total checkpoint time (microseconds).
restore_time_us: AtomicU64Total restore time (microseconds).
Trait Implementations§
Source§impl Debug for MigrationStats
impl Debug for MigrationStats
Source§impl Default for MigrationStats
impl Default for MigrationStats
Source§fn default() -> MigrationStats
fn default() -> MigrationStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for MigrationStats
impl RefUnwindSafe for MigrationStats
impl Send for MigrationStats
impl Sync for MigrationStats
impl Unpin for MigrationStats
impl UnwindSafe for MigrationStats
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
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> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.