[−][src]Type Definition rustracing::sampler::BoxSampler
type BoxSampler<T> = Box<dyn Sampler<T> + Send + Sync + 'static>;
Boxed version of Sampler
.
Trait Implementations
impl<T> Sampler<T> for BoxSampler<T>
[src]
pub fn is_sampled(&self, span: &CandidateSpan<'_, T>) -> bool
[src]
pub fn boxed(self) -> BoxSampler<T> where
Self: Sized + Send + 'static,
[src]
Self: Sized + Send + 'static,
pub fn or<U>(self, other: U) -> OrSampler<Self, U> where
Self: Sized,
U: Sampler<T>,
[src]
Self: Sized,
U: Sampler<T>,
pub fn and<U>(self, other: U) -> AndSampler<Self, U> where
Self: Sized,
U: Sampler<T>,
[src]
Self: Sized,
U: Sampler<T>,