pub enum PropagationPriority {
Background = 0,
Normal = 1,
High = 2,
Urgent = 3,
}Expand description
Propagation priority
Variants§
Background = 0
Background - send when bandwidth available
Normal = 1
Normal - regular priority
High = 2
High - prioritize over normal
Urgent = 3
Urgent - send immediately
Trait Implementations§
Source§impl Clone for PropagationPriority
impl Clone for PropagationPriority
Source§fn clone(&self) -> PropagationPriority
fn clone(&self) -> PropagationPriority
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 PropagationPriority
impl Debug for PropagationPriority
Source§impl Ord for PropagationPriority
impl Ord for PropagationPriority
Source§fn cmp(&self, other: &PropagationPriority) -> Ordering
fn cmp(&self, other: &PropagationPriority) -> 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 PropagationPriority
impl PartialEq for PropagationPriority
Source§impl PartialOrd for PropagationPriority
impl PartialOrd for PropagationPriority
impl Copy for PropagationPriority
impl Eq for PropagationPriority
impl StructuralPartialEq for PropagationPriority
Auto Trait Implementations§
impl Freeze for PropagationPriority
impl RefUnwindSafe for PropagationPriority
impl Send for PropagationPriority
impl Sync for PropagationPriority
impl Unpin for PropagationPriority
impl UnsafeUnpin for PropagationPriority
impl UnwindSafe for PropagationPriority
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