MCPcopy Create free account
hub / github.com/base/base / cmp

Method cmp

crates/consensus/engine/src/task_queue/tasks/task.rs:179–181  ·  view source on GitHub ↗
(&self, other: &Self)

Source from the content-addressed store, hash-verified

177
178impl<EngineClient_: EngineClient> Ord for EngineTask<EngineClient_> {
179 fn cmp(&self, other: &Self) -> Ordering {
180 self.task_priority().cmp(&other.task_priority())
181 }
182}
183
184#[async_trait]

Callers 3

prune_rotated_filesMethod · 0.45
resize_from_rightMethod · 0.45
partial_cmpMethod · 0.45

Calls 1

task_priorityMethod · 0.80

Tested by

no test coverage detected