pub enum SyncPriority {
Low = 0,
Normal = 1,
High = 2,
Critical = 3,
}Expand description
Priority levels for sync operations
Variants§
Low = 0
Background sync, can wait for next scheduled window
Normal = 1
Normal sync, should happen within current interval
High = 2
High priority, sync at next opportunity
Critical = 3
Critical data, trigger immediate sync
Trait Implementations§
Source§impl Clone for SyncPriority
impl Clone for SyncPriority
Source§fn clone(&self) -> SyncPriority
fn clone(&self) -> SyncPriority
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 SyncPriority
impl Debug for SyncPriority
Source§impl Default for SyncPriority
impl Default for SyncPriority
Source§fn default() -> SyncPriority
fn default() -> SyncPriority
Returns the “default value” for a type. Read more
Source§impl Ord for SyncPriority
impl Ord for SyncPriority
Source§fn cmp(&self, other: &SyncPriority) -> Ordering
fn cmp(&self, other: &SyncPriority) -> 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 SyncPriority
impl PartialEq for SyncPriority
Source§impl PartialOrd for SyncPriority
impl PartialOrd for SyncPriority
impl Copy for SyncPriority
impl Eq for SyncPriority
impl StructuralPartialEq for SyncPriority
Auto Trait Implementations§
impl Freeze for SyncPriority
impl RefUnwindSafe for SyncPriority
impl Send for SyncPriority
impl Sync for SyncPriority
impl Unpin for SyncPriority
impl UnsafeUnpin for SyncPriority
impl UnwindSafe for SyncPriority
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
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<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.