pub struct DictTracer { /* private fields */ }Expand description
This tracer sends text messages.
Implementations§
Methods from Deref<Target = Tracer<DictState>>§
Sourcepub fn send(
&self,
data: <T as Flow>::Event,
opt_system_time: Option<SystemTime>,
direction: Option<Direction<ProviderProtocol>>,
)
pub fn send( &self, data: <T as Flow>::Event, opt_system_time: Option<SystemTime>, direction: Option<Direction<ProviderProtocol>>, )
Send an event to a Recorder.
Sourcepub fn subscribe(&mut self) -> Result<Receiver<ActionEnvelope<T>>, Error>
pub fn subscribe(&mut self) -> Result<Receiver<ActionEnvelope<T>>, Error>
Subscribe to the stream of the watcher.
Trait Implementations§
Source§impl Clone for DictTracer
impl Clone for DictTracer
Source§fn clone(&self) -> DictTracer
fn clone(&self) -> DictTracer
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DictTracer
impl Debug for DictTracer
Source§impl Deref for DictTracer
impl Deref for DictTracer
Auto Trait Implementations§
impl Freeze for DictTracer
impl !RefUnwindSafe for DictTracer
impl Send for DictTracer
impl Sync for DictTracer
impl Unpin for DictTracer
impl !UnwindSafe for DictTracer
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