pub struct MigrationResult {
pub success: bool,
pub source_device: usize,
pub target_device: usize,
pub workload_id: u64,
pub transfer_time: Duration,
pub bytes_transferred: u64,
pub error_message: Option<String>,
}Expand description
Result of a migration operation
Fields§
§success: boolWhether the migration succeeded
source_device: usizeSource device index
target_device: usizeTarget device index
workload_id: u64Workload ID that was migrated
transfer_time: DurationActual transfer time
bytes_transferred: u64Bytes transferred
error_message: Option<String>Error message if failed
Trait Implementations§
Source§impl Clone for MigrationResult
impl Clone for MigrationResult
Source§fn clone(&self) -> MigrationResult
fn clone(&self) -> MigrationResult
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 moreAuto Trait Implementations§
impl Freeze for MigrationResult
impl RefUnwindSafe for MigrationResult
impl Send for MigrationResult
impl Sync for MigrationResult
impl Unpin for MigrationResult
impl UnsafeUnpin for MigrationResult
impl UnwindSafe for MigrationResult
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