#[repr(u8)]pub enum NetworkPriority {
LifeSafety = 3,
CriticalEquipment = 2,
Urgent = 1,
Normal = 0,
}Expand description
Network priority levels
Variants§
LifeSafety = 3
Life Safety messages (highest priority)
CriticalEquipment = 2
Critical Equipment messages
Urgent = 1
Urgent messages
Normal = 0
Normal messages (lowest priority)
Implementations§
Trait Implementations§
Source§impl Clone for NetworkPriority
impl Clone for NetworkPriority
Source§fn clone(&self) -> NetworkPriority
fn clone(&self) -> NetworkPriority
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 NetworkPriority
Source§impl Debug for NetworkPriority
impl Debug for NetworkPriority
impl Eq for NetworkPriority
Source§impl PartialEq for NetworkPriority
impl PartialEq for NetworkPriority
Source§fn eq(&self, other: &NetworkPriority) -> bool
fn eq(&self, other: &NetworkPriority) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NetworkPriority
Auto Trait Implementations§
impl Freeze for NetworkPriority
impl RefUnwindSafe for NetworkPriority
impl Send for NetworkPriority
impl Sync for NetworkPriority
impl Unpin for NetworkPriority
impl UnsafeUnpin for NetworkPriority
impl UnwindSafe for NetworkPriority
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