Skip to main content

PathSlotResolver

Type Alias PathSlotResolver 

Source
pub type PathSlotResolver = Arc<dyn Fn(&OffchainPublicKey) -> Option<u64> + Send + Sync>;
Expand description

Resolves a node to the slot it occupies in a [PathId].

Taken as a function rather than as a graph so the codec decorator stays free of the graph’s type parameters – the packet pipeline builder is already deeply generic and has no graph handle of its own to thread through.

Aliased Type§

pub struct PathSlotResolver { /* private fields */ }