pub(super) struct PreparedCluster {
pub host_cluster: HostCluster,
pub set_mapping: Option<(usize, Option<PendingClusters>)>,
}Expand description
Host cluster prepared for a guest cluster by Qcow2::prepare_cow_cluster().
Fields§
§host_cluster: HostClusterWhere data for the guest cluster is to be written to.
set_mapping: Option<(usize, Option<PendingClusters>)>What to pass to L2TableWriteGuard::map_cluster() to establish the mapping of guest to
host cluster (L2 index, and the guard for host_cluster if it has been newly allocated).
None if the guest cluster is mapped to host_cluster already.
Auto Trait Implementations§
impl Freeze for PreparedCluster
impl !RefUnwindSafe for PreparedCluster
impl Send for PreparedCluster
impl Sync for PreparedCluster
impl Unpin for PreparedCluster
impl UnsafeUnpin for PreparedCluster
impl !UnwindSafe for PreparedCluster
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