pub enum ReplicationPriority {
Low = 0,
Normal = 1,
High = 2,
}Expand description
Priority level for a replication task
Variants§
Low = 0
Background maintenance (periodic refresh)
Normal = 1
Standard replication of existing data
High = 2
Urgent — new data or peer loss requiring immediate re-replication
Trait Implementations§
Source§impl Clone for ReplicationPriority
impl Clone for ReplicationPriority
Source§fn clone(&self) -> ReplicationPriority
fn clone(&self) -> ReplicationPriority
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 ReplicationPriority
impl Debug for ReplicationPriority
Source§impl Ord for ReplicationPriority
impl Ord for ReplicationPriority
Source§fn cmp(&self, other: &ReplicationPriority) -> Ordering
fn cmp(&self, other: &ReplicationPriority) -> 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 ReplicationPriority
impl PartialEq for ReplicationPriority
Source§impl PartialOrd for ReplicationPriority
impl PartialOrd for ReplicationPriority
impl Copy for ReplicationPriority
impl Eq for ReplicationPriority
impl StructuralPartialEq for ReplicationPriority
Auto Trait Implementations§
impl Freeze for ReplicationPriority
impl RefUnwindSafe for ReplicationPriority
impl Send for ReplicationPriority
impl Sync for ReplicationPriority
impl Unpin for ReplicationPriority
impl UnsafeUnpin for ReplicationPriority
impl UnwindSafe for ReplicationPriority
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