pub enum TrackingGranule {
Coarse,
Fine,
}Expand description
Tracking granularity for one RAM region.
Variants§
Coarse
2 MiB tracking pages — default cheap mode.
Fine
16 KiB (host-page) tracking pages — adaptive hot mode.
Implementations§
Source§impl TrackingGranule
impl TrackingGranule
Sourcepub const fn page_size(self, geom: PageGeometry) -> u64
pub const fn page_size(self, geom: PageGeometry) -> u64
Page size in bytes for this granule.
Trait Implementations§
Source§impl Clone for TrackingGranule
impl Clone for TrackingGranule
Source§fn clone(&self) -> TrackingGranule
fn clone(&self) -> TrackingGranule
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TrackingGranule
impl Debug for TrackingGranule
Source§impl PartialEq for TrackingGranule
impl PartialEq for TrackingGranule
Source§fn eq(&self, other: &TrackingGranule) -> bool
fn eq(&self, other: &TrackingGranule) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TrackingGranule
impl Eq for TrackingGranule
impl StructuralPartialEq for TrackingGranule
Auto Trait Implementations§
impl Freeze for TrackingGranule
impl RefUnwindSafe for TrackingGranule
impl Send for TrackingGranule
impl Sync for TrackingGranule
impl Unpin for TrackingGranule
impl UnsafeUnpin for TrackingGranule
impl UnwindSafe for TrackingGranule
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