pub struct ProbabilisticSampleCore { /* private fields */ }Expand description
Probabilistic (tail) sampling compute core — the plan’s only new algorithm.
A draw in [0, 1) passes iff draw < rate.
Implementations§
Trait Implementations§
Source§impl Clone for ProbabilisticSampleCore
impl Clone for ProbabilisticSampleCore
Source§fn clone(&self) -> ProbabilisticSampleCore
fn clone(&self) -> ProbabilisticSampleCore
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProbabilisticSampleCore
Auto Trait Implementations§
impl Freeze for ProbabilisticSampleCore
impl RefUnwindSafe for ProbabilisticSampleCore
impl Send for ProbabilisticSampleCore
impl Sync for ProbabilisticSampleCore
impl Unpin for ProbabilisticSampleCore
impl UnsafeUnpin for ProbabilisticSampleCore
impl UnwindSafe for ProbabilisticSampleCore
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