pub enum RTPriority {
Background = 0,
Low = 1,
Normal = 2,
High = 3,
Critical = 4,
}Expand description
Real-time task priority levels
Variants§
Background = 0
Lowest priority (background tasks)
Low = 1
Low priority
Normal = 2
Normal priority
High = 3
High priority
Critical = 4
Critical priority (hard real-time)
Trait Implementations§
Source§impl Clone for RTPriority
impl Clone for RTPriority
Source§fn clone(&self) -> RTPriority
fn clone(&self) -> RTPriority
Returns a duplicate of the value. Read more
1.0.0 · 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 RTPriority
impl Debug for RTPriority
Source§impl From<RTPriority> for u8
impl From<RTPriority> for u8
Source§fn from(priority: RTPriority) -> Self
fn from(priority: RTPriority) -> Self
Converts to this type from the input type.
Source§impl From<u8> for RTPriority
impl From<u8> for RTPriority
Source§impl Ord for RTPriority
impl Ord for RTPriority
Source§fn cmp(&self, other: &RTPriority) -> Ordering
fn cmp(&self, other: &RTPriority) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RTPriority
impl PartialEq for RTPriority
Source§impl PartialOrd for RTPriority
impl PartialOrd for RTPriority
impl Copy for RTPriority
impl Eq for RTPriority
impl StructuralPartialEq for RTPriority
Auto Trait Implementations§
impl Freeze for RTPriority
impl RefUnwindSafe for RTPriority
impl Send for RTPriority
impl Sync for RTPriority
impl Unpin for RTPriority
impl UnwindSafe for RTPriority
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