[−][src]Struct holochain_tracing::tracer_network::OrSampler
or
combinator.
Trait Implementations
impl<A, B> Debug for OrSampler<A, B> where
A: Debug,
B: Debug,
[src]
A: Debug,
B: Debug,
impl<A, B> Clone for OrSampler<A, B> where
A: Clone,
B: Clone,
[src]
A: Clone,
B: Clone,
impl<A, B, T> Sampler<T> for OrSampler<A, B> where
A: Sampler<T>,
B: Sampler<T>,
[src]
A: Sampler<T>,
B: Sampler<T>,
fn is_sampled(&self, span: &CandidateSpan<T>) -> bool
[src]
fn or<U>(self, other: U) -> OrSampler<Self, U> where
U: Sampler<T>,
[src]
U: Sampler<T>,
fn and<U>(self, other: U) -> AndSampler<Self, U> where
U: Sampler<T>,
[src]
U: Sampler<T>,
fn boxed(self) -> Box<dyn Sampler<T> + 'static + Sync + Send> where
Self: Send + Sync + 'static,
[src]
Self: Send + Sync + 'static,
Auto Trait Implementations
impl<A, B> Send for OrSampler<A, B> where
A: Send,
B: Send,
A: Send,
B: Send,
impl<A, B> Sync for OrSampler<A, B> where
A: Sync,
B: Sync,
A: Sync,
B: Sync,
impl<A, B> Unpin for OrSampler<A, B> where
A: Unpin,
B: Unpin,
A: Unpin,
B: Unpin,
impl<A, B> UnwindSafe for OrSampler<A, B> where
A: UnwindSafe,
B: UnwindSafe,
A: UnwindSafe,
B: UnwindSafe,
impl<A, B> RefUnwindSafe for OrSampler<A, B> where
A: RefUnwindSafe,
B: RefUnwindSafe,
A: RefUnwindSafe,
B: RefUnwindSafe,
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,