#[repr(u8)]pub enum RawContextPriority {
Default = 0,
Low = 1,
Medium = 2,
High = 3,
}Variants§
Default = 0
Default priority, used when no custom priority is specified, the behaviour is not clearly defined if you choose this priority, but it should be the default, currently the kernel will use the Medium priority if this was passed to the SysPSpawn syscall, later on it could inherit the priority of the parent process
Incase of the SysTSpawn syscall, the kernel will inherit the priority of the parent process
Low = 1
Medium = 2
High = 3
Trait Implementations§
Source§impl Clone for RawContextPriority
impl Clone for RawContextPriority
Source§fn clone(&self) -> RawContextPriority
fn clone(&self) -> RawContextPriority
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 RawContextPriority
impl Debug for RawContextPriority
Source§impl PartialEq for RawContextPriority
impl PartialEq for RawContextPriority
Source§fn eq(&self, other: &RawContextPriority) -> bool
fn eq(&self, other: &RawContextPriority) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RawContextPriority
impl Eq for RawContextPriority
impl StructuralPartialEq for RawContextPriority
Auto Trait Implementations§
impl Freeze for RawContextPriority
impl RefUnwindSafe for RawContextPriority
impl Send for RawContextPriority
impl Sync for RawContextPriority
impl Unpin for RawContextPriority
impl UnsafeUnpin for RawContextPriority
impl UnwindSafe for RawContextPriority
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