pub(super) struct ClustersToFreeEntry {
first_cluster: HostCluster,
count: ClusterCount,
metadata: bool,
}Expand description
Entry in ClustersToFreeList: A range of clusters to be freed.
Fields§
§first_cluster: HostClusterFirst cluster in the range.
count: ClusterCountNumber of clusters in the range.
metadata: boolWhether these are metadata clusters (or data clusters).
Implementations§
Source§impl ClustersToFreeEntry
impl ClustersToFreeEntry
Sourcepub fn data(first_cluster: HostCluster, count: ClusterCount) -> Self
pub fn data(first_cluster: HostCluster, count: ClusterCount) -> Self
Create an entry for the given range of data clusters.
Sourcepub fn metadata(first_cluster: HostCluster, count: ClusterCount) -> Self
pub fn metadata(first_cluster: HostCluster, count: ClusterCount) -> Self
Create an entry for the given range of metadata clusters.
Auto Trait Implementations§
impl Freeze for ClustersToFreeEntry
impl RefUnwindSafe for ClustersToFreeEntry
impl Send for ClustersToFreeEntry
impl Sync for ClustersToFreeEntry
impl Unpin for ClustersToFreeEntry
impl UnsafeUnpin for ClustersToFreeEntry
impl UnwindSafe for ClustersToFreeEntry
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