Struct rill_engine::tracers::tracer::Tracer [−][src]
pub struct Tracer<T: Flow> { /* fields omitted */ }Expand description
The generic provider that forwards metrics to worker and keeps a flag
for checking the activitiy status of the Tracer.
Implementations
Returns a reference to a Description of the Tracer.
Send an event to a Recorder.
pub fn sync_callback<F>(&self, callback: F) where
F: Fn(ActionEnvelope<T>) -> Result<(), Error>,
F: Send + Sync + 'static,
pub fn sync_callback<F>(&self, callback: F) where
F: Fn(ActionEnvelope<T>) -> Result<(), Error>,
F: Send + Sync + 'static,
Assign a callback
Removes the callback
Trait Implementations
Both tracers are equal only if they use the same description. That means they both have the same recorder/channel.
Auto Trait Implementations
impl<T> !RefUnwindSafe for Tracer<T>
impl<T> !UnwindSafe for Tracer<T>
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = T
Should always be Self