pub enum SignalPriority {
Low = 0,
Normal = 1,
High = 2,
Critical = 3,
}Expand description
Signal priority for routing
Variants§
Trait Implementations§
Source§impl Clone for SignalPriority
impl Clone for SignalPriority
Source§fn clone(&self) -> SignalPriority
fn clone(&self) -> SignalPriority
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 SignalPriority
impl Debug for SignalPriority
Source§impl<'de> Deserialize<'de> for SignalPriority
impl<'de> Deserialize<'de> for SignalPriority
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 Ord for SignalPriority
impl Ord for SignalPriority
Source§fn cmp(&self, other: &SignalPriority) -> Ordering
fn cmp(&self, other: &SignalPriority) -> Ordering
1.21.0 (const: unstable) · 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 SignalPriority
impl PartialEq for SignalPriority
Source§fn eq(&self, other: &SignalPriority) -> bool
fn eq(&self, other: &SignalPriority) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SignalPriority
impl PartialOrd for SignalPriority
Source§impl Serialize for SignalPriority
impl Serialize for SignalPriority
impl Copy for SignalPriority
impl Eq for SignalPriority
impl StructuralPartialEq for SignalPriority
Auto Trait Implementations§
impl Freeze for SignalPriority
impl RefUnwindSafe for SignalPriority
impl Send for SignalPriority
impl Sync for SignalPriority
impl Unpin for SignalPriority
impl UnsafeUnpin for SignalPriority
impl UnwindSafe for SignalPriority
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