pub trait UntrustedOriginSampler<'h, M: MathsCore>: Debug + Iterator<Item = Lineage> {
type Habitat: 'h + Habitat<M>;
type PreSampler: Iterator<Item = u64>;
// Provided methods
fn habitat(&self) -> &'h Self::Habitat { ... }
fn into_pre_sampler(self) -> OriginPreSampler<M, Self::PreSampler>
where Self: Sized { ... }
fn full_upper_bound_size_hint(&self) -> u64 { ... }
}
Expand description
Lineage
s produced by the sampler’s iterator must have
- unique global references