referrerpolicy=no-referrer-when-downgrade
pub trait SelectCore {
    // Required methods
    fn selected_core() -> (CoreSelector, ClaimQueueOffset);
    fn select_next_core() -> (CoreSelector, ClaimQueueOffset);
}
Expand description

Trait for selecting the next core to build the candidate for.

Required Methods§

source

fn selected_core() -> (CoreSelector, ClaimQueueOffset)

Core selector information for the current block.

source

fn select_next_core() -> (CoreSelector, ClaimQueueOffset)

Core selector information for the next block.

Object Safety§

This trait is not object safe.

Implementors§