pub enum SchedulerTickMode {
User,
System,
}Expand description
Execution mode sampled by the periodic scheduler tick.
This is the OS-independent equivalent of Linux’s user_mode(regs) result.
The IRQ entry passes the saved-context classification into the scheduler
tick so syscall boundaries do not need to publish a mirrored mode.
Variants§
Trait Implementations§
Source§impl Clone for SchedulerTickMode
impl Clone for SchedulerTickMode
Source§fn clone(&self) -> SchedulerTickMode
fn clone(&self) -> SchedulerTickMode
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 moreimpl Copy for SchedulerTickMode
Source§impl Debug for SchedulerTickMode
impl Debug for SchedulerTickMode
impl Eq for SchedulerTickMode
Source§impl PartialEq for SchedulerTickMode
impl PartialEq for SchedulerTickMode
impl StructuralPartialEq for SchedulerTickMode
Auto Trait Implementations§
impl Freeze for SchedulerTickMode
impl RefUnwindSafe for SchedulerTickMode
impl Send for SchedulerTickMode
impl Sync for SchedulerTickMode
impl Unpin for SchedulerTickMode
impl UnsafeUnpin for SchedulerTickMode
impl UnwindSafe for SchedulerTickMode
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