pub struct PageAdviceApplication {
pub section: String,
pub policy: PagePolicy,
pub requested: Option<MemoryAdvice>,
pub residency_before: PageResidencyOutcome,
pub outcome: PageAdviceOutcome,
pub residency_after: PageResidencyOutcome,
}Expand description
One section’s page-in decision and what the loader actually requested.
Fields§
§section: StringArtifact section name.
policy: PagePolicyThe pure access-class policy selected by AccessClass::page_policy.
requested: Option<MemoryAdvice>The OS hint issued for this section, if the policy calls for one.
residency_before: PageResidencyOutcomeResidency observed immediately before the policy request.
outcome: PageAdviceOutcomeThe outcome of that request.
residency_after: PageResidencyOutcomeResidency observed immediately after the policy request and before eager v1 digest checks.
Trait Implementations§
Source§impl Clone for PageAdviceApplication
impl Clone for PageAdviceApplication
Source§fn clone(&self) -> PageAdviceApplication
fn clone(&self) -> PageAdviceApplication
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 PageAdviceApplication
impl Debug for PageAdviceApplication
impl Eq for PageAdviceApplication
Source§impl PartialEq for PageAdviceApplication
impl PartialEq for PageAdviceApplication
impl StructuralPartialEq for PageAdviceApplication
Auto Trait Implementations§
impl Freeze for PageAdviceApplication
impl RefUnwindSafe for PageAdviceApplication
impl Send for PageAdviceApplication
impl Sync for PageAdviceApplication
impl Unpin for PageAdviceApplication
impl UnsafeUnpin for PageAdviceApplication
impl UnwindSafe for PageAdviceApplication
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