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
pub fn send(
&self,
data: T::Event,
opt_system_time: Option<SystemTime>,
direction: Option<Direction<ProviderProtocol>>
)
pub fn send(
&self,
data: T::Event,
opt_system_time: Option<SystemTime>,
direction: Option<Direction<ProviderProtocol>>
)Send an event to a Recorder.
Subscribe to the stream of the watcher.
Registers a callback to the flow.
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 = TShould always be Self
pub fn vzip(self) -> V