Skip to main content

owned_pins_ordered

Function owned_pins_ordered 

Source
fn owned_pins_ordered<'a>(
    indexed: &'a IndexedDocument<'a>,
    owner: BlockId,
) -> Vec<(PinId, &'a Pin)>
Expand description

Owned pins in a stable order, so a rider’s ops read the same on every run (the index’s sets iterate by hash).