pub struct VirtualBlockDetails {
pub statistics: VirtualBlockStats,
pub allocation_size_min: Option<u64>,
pub allocation_size_max: Option<u64>,
pub free_range_size_min: Option<u64>,
pub free_range_size_max: Option<u64>,
}Expand description
Explicit virtual placement diagnostics; physical holes may not be immediately reusable by linear placement.
Fields§
§statistics: VirtualBlockStats§allocation_size_min: Option<u64>§allocation_size_max: Option<u64>§free_range_size_min: Option<u64>§free_range_size_max: Option<u64>Implementations§
Source§impl VirtualBlockDetails
impl VirtualBlockDetails
Sourcepub fn set_statistics(self, value: VirtualBlockStats) -> Self
pub fn set_statistics(self, value: VirtualBlockStats) -> Self
Set statistics and return the updated record.
Sourcepub fn set_allocation_size_min(self, value: Option<u64>) -> Self
pub fn set_allocation_size_min(self, value: Option<u64>) -> Self
Set allocation_size_min and return the updated record.
Sourcepub fn set_allocation_size_max(self, value: Option<u64>) -> Self
pub fn set_allocation_size_max(self, value: Option<u64>) -> Self
Set allocation_size_max and return the updated record.
Sourcepub fn set_free_range_size_min(self, value: Option<u64>) -> Self
pub fn set_free_range_size_min(self, value: Option<u64>) -> Self
Set free_range_size_min and return the updated record.
Sourcepub fn set_free_range_size_max(self, value: Option<u64>) -> Self
pub fn set_free_range_size_max(self, value: Option<u64>) -> Self
Set free_range_size_max and return the updated record.
Trait Implementations§
Source§impl Clone for VirtualBlockDetails
impl Clone for VirtualBlockDetails
impl Copy for VirtualBlockDetails
Source§impl Debug for VirtualBlockDetails
impl Debug for VirtualBlockDetails
impl Eq for VirtualBlockDetails
Source§impl PartialEq for VirtualBlockDetails
impl PartialEq for VirtualBlockDetails
impl StructuralPartialEq for VirtualBlockDetails
Auto Trait Implementations§
impl Forget for VirtualBlockDetails
impl Freeze for VirtualBlockDetails
impl Move for VirtualBlockDetails
impl RefUnwindSafe for VirtualBlockDetails
impl Send for VirtualBlockDetails
impl Sync for VirtualBlockDetails
impl Unpin for VirtualBlockDetails
impl UnsafeUnpin for VirtualBlockDetails
impl UnwindSafe for VirtualBlockDetails
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