pub enum PriorityLevel {
PL0,
PL1,
PL2,
PL3,
PL4,
PL5,
PL6,
PL7,
}
Variants§
Implementations§
Source§impl PriorityLevel
impl PriorityLevel
pub const NUM_LEVELS: usize = 8usize
pub const LEVELS: [PriorityLevel; 8]
Trait Implementations§
Source§impl Clone for PriorityLevel
impl Clone for PriorityLevel
Source§fn clone(&self) -> PriorityLevel
fn clone(&self) -> PriorityLevel
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 PriorityLevel
impl Debug for PriorityLevel
Source§impl<'de> Deserialize<'de> for PriorityLevel
impl<'de> Deserialize<'de> for PriorityLevel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for PriorityLevel
impl Display for PriorityLevel
Source§impl From<&PriorityLevel> for u8
impl From<&PriorityLevel> for u8
Source§fn from(pl: &PriorityLevel) -> u8
fn from(pl: &PriorityLevel) -> u8
Converts to this type from the input type.
Source§impl From<PriorityLevel> for u8
impl From<PriorityLevel> for u8
Source§fn from(pl: PriorityLevel) -> u8
fn from(pl: PriorityLevel) -> u8
Converts to this type from the input type.
Source§impl Hash for PriorityLevel
impl Hash for PriorityLevel
Source§impl Ord for PriorityLevel
impl Ord for PriorityLevel
Source§fn cmp(&self, other: &PriorityLevel) -> Ordering
fn cmp(&self, other: &PriorityLevel) -> 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 PriorityLevel
impl PartialEq for PriorityLevel
Source§impl PartialOrd for PriorityLevel
impl PartialOrd for PriorityLevel
Source§impl Serialize for PriorityLevel
impl Serialize for PriorityLevel
Source§impl TryFrom<u8> for PriorityLevel
impl TryFrom<u8> for PriorityLevel
impl Copy for PriorityLevel
impl Eq for PriorityLevel
impl StructuralPartialEq for PriorityLevel
Auto Trait Implementations§
impl Freeze for PriorityLevel
impl RefUnwindSafe for PriorityLevel
impl Send for PriorityLevel
impl Sync for PriorityLevel
impl Unpin for PriorityLevel
impl UnwindSafe for PriorityLevel
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