#[repr(u8)]pub enum K2KPriority {
Low = 0,
Normal = 64,
High = 128,
Critical = 192,
RealTime = 255,
}Expand description
Priority levels for K2K messages.
Variants§
Low = 0
Low priority - background processing.
Normal = 64
Normal priority - default.
High = 128
High priority - time-sensitive operations.
Critical = 192
Critical priority - must process immediately.
RealTime = 255
Real-time priority - latency-critical paths.
Trait Implementations§
Source§impl Clone for K2KPriority
impl Clone for K2KPriority
Source§fn clone(&self) -> K2KPriority
fn clone(&self) -> K2KPriority
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 K2KPriority
impl Debug for K2KPriority
Source§impl Default for K2KPriority
impl Default for K2KPriority
Source§fn default() -> K2KPriority
fn default() -> K2KPriority
Returns the “default value” for a type. Read more
Source§impl From<K2KPriority> for u8
impl From<K2KPriority> for u8
Source§fn from(p: K2KPriority) -> u8
fn from(p: K2KPriority) -> u8
Converts to this type from the input type.
Source§impl Ord for K2KPriority
impl Ord for K2KPriority
Source§fn cmp(&self, other: &K2KPriority) -> Ordering
fn cmp(&self, other: &K2KPriority) -> 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 K2KPriority
impl PartialEq for K2KPriority
Source§impl PartialOrd for K2KPriority
impl PartialOrd for K2KPriority
impl Copy for K2KPriority
impl Eq for K2KPriority
impl StructuralPartialEq for K2KPriority
Auto Trait Implementations§
impl Freeze for K2KPriority
impl RefUnwindSafe for K2KPriority
impl Send for K2KPriority
impl Sync for K2KPriority
impl Unpin for K2KPriority
impl UnwindSafe for K2KPriority
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.