pub enum DistinctDrawStatus {
Complete,
TableExhausted,
SampleBudgetExhausted,
TicketsExhausted,
}Expand description
Why a distinct call stopped; completion takes precedence over pool exhaustion,
which takes precedence over input exhaustion. See DistinctDrawReport.
Variants§
Complete
Exactly the requested number of indices were written, including zero.
TableExhausted
All positive-weight indices were written, fewer than requested.
SampleBudgetExhausted
More offers were possible, but the roll’s sample budget was consumed.
TicketsExhausted
More offers were possible, but the deterministic ticket slice ended.
Trait Implementations§
Source§impl Clone for DistinctDrawStatus
impl Clone for DistinctDrawStatus
Source§fn clone(&self) -> DistinctDrawStatus
fn clone(&self) -> DistinctDrawStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DistinctDrawStatus
impl Debug for DistinctDrawStatus
Source§impl PartialEq for DistinctDrawStatus
impl PartialEq for DistinctDrawStatus
impl Copy for DistinctDrawStatus
impl Eq for DistinctDrawStatus
impl StructuralPartialEq for DistinctDrawStatus
Auto Trait Implementations§
impl Freeze for DistinctDrawStatus
impl RefUnwindSafe for DistinctDrawStatus
impl Send for DistinctDrawStatus
impl Sync for DistinctDrawStatus
impl Unpin for DistinctDrawStatus
impl UnwindSafe for DistinctDrawStatus
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more