pub enum PageResidencyOutcome {
Measured {
resident_pages: usize,
total_pages: usize,
},
Unsupported,
Failed(String),
}Expand description
An observed residency count for one section at a policy boundary.
This records a measurement for the OQ-18 access-class evidence, not a contract with the kernel:
page-cache state can change immediately after mincore returns, and a failed observation must
never reject an otherwise valid artifact.
Variants§
Measured
The kernel reported the number of resident pages in the section’s range.
Fields
Unsupported
This build has no audited residency-query implementation.
Failed(String)
The OS rejected the observation; artifact integrity is unaffected.
Trait Implementations§
Source§impl Clone for PageResidencyOutcome
impl Clone for PageResidencyOutcome
Source§fn clone(&self) -> PageResidencyOutcome
fn clone(&self) -> PageResidencyOutcome
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 PageResidencyOutcome
impl Debug for PageResidencyOutcome
impl Eq for PageResidencyOutcome
Source§impl PartialEq for PageResidencyOutcome
impl PartialEq for PageResidencyOutcome
impl StructuralPartialEq for PageResidencyOutcome
Auto Trait Implementations§
impl Freeze for PageResidencyOutcome
impl RefUnwindSafe for PageResidencyOutcome
impl Send for PageResidencyOutcome
impl Sync for PageResidencyOutcome
impl Unpin for PageResidencyOutcome
impl UnsafeUnpin for PageResidencyOutcome
impl UnwindSafe for PageResidencyOutcome
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