#[repr(u8)]pub enum TerminalAction {
UpdateAgeAndHarvest = 0,
UpdateAge = 1,
}Variants§
UpdateAgeAndHarvest = 0
If the page is accessed update its age in the page queues, and remove the accessed flag.
UpdateAge = 1
If the page is accessed update its age in the page queues, but do not clear the flag.
Trait Implementations§
Source§impl Clone for TerminalAction
impl Clone for TerminalAction
Source§fn clone(&self) -> TerminalAction
fn clone(&self) -> TerminalAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable)§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TerminalAction
impl Debug for TerminalAction
Source§impl PartialEq for TerminalAction
impl PartialEq for TerminalAction
impl Copy for TerminalAction
impl Eq for TerminalAction
impl StructuralPartialEq for TerminalAction
Auto Trait Implementations§
impl Freeze for TerminalAction
impl RefUnwindSafe for TerminalAction
impl Send for TerminalAction
impl Sync for TerminalAction
impl Unpin for TerminalAction
impl UnsafeUnpin for TerminalAction
impl UnwindSafe for TerminalAction
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)§impl<T> Init<T> for T
impl<T> Init<T> for T
§impl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
§impl<T> PinInit<T> for T
impl<T> PinInit<T> for T
§unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
Initializes
slot. Read more