Skip to main content

candidates

Function candidates 

Source
pub fn candidates(draw: impl FnMut() -> u32) -> impl Iterator<Item = Name>
Expand description

The names a new document is offered, in the order they are drawn and bounded as the retry is.

A host whose storage is asked asynchronously whether a name is taken cannot come through Documents::create, so what it walks is this — rather than inventing a second vocabulary and a second bound.