pub enum CompactionPriority {
Pinned,
Proof,
Retrieved,
Recent,
}Expand description
Deterministic priority class. Lower classes are selected first.
Variants§
Pinned
Cannot be omitted; overflow blocks the run.
Proof
Active proof material needed to evaluate completion.
Retrieved
Current, provenance-bound memory relevant to the task.
Recent
Recent provider conversation retained with remaining budget.
Trait Implementations§
Source§impl Clone for CompactionPriority
impl Clone for CompactionPriority
Source§fn clone(&self) -> CompactionPriority
fn clone(&self) -> CompactionPriority
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 CompactionPriority
Source§impl Debug for CompactionPriority
impl Debug for CompactionPriority
Source§impl<'de> Deserialize<'de> for CompactionPriority
impl<'de> Deserialize<'de> for CompactionPriority
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
impl Eq for CompactionPriority
Source§impl Ord for CompactionPriority
impl Ord for CompactionPriority
Source§fn cmp(&self, other: &CompactionPriority) -> Ordering
fn cmp(&self, other: &CompactionPriority) -> 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 CompactionPriority
impl PartialEq for CompactionPriority
Source§impl PartialOrd for CompactionPriority
impl PartialOrd for CompactionPriority
Source§impl Serialize for CompactionPriority
impl Serialize for CompactionPriority
impl StructuralPartialEq for CompactionPriority
Auto Trait Implementations§
impl Freeze for CompactionPriority
impl RefUnwindSafe for CompactionPriority
impl Send for CompactionPriority
impl Sync for CompactionPriority
impl Unpin for CompactionPriority
impl UnsafeUnpin for CompactionPriority
impl UnwindSafe for CompactionPriority
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