pub struct LogFlowTracer { /* private fields */ }
Implementations§
Source§impl LogFlowTracer
impl LogFlowTracer
pub fn new() -> (Self, LogFlowWatcher)
pub fn add_logs(&self, lines: Vec<String>)
pub fn clear_logs(&self)
Methods from Deref<Target = Tracer<LogFlowState>>§
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 LogFlowTracer
impl Clone for LogFlowTracer
Source§fn clone(&self) -> LogFlowTracer
fn clone(&self) -> LogFlowTracer
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 LogFlowTracer
impl Debug for LogFlowTracer
Source§impl Deref for LogFlowTracer
impl Deref for LogFlowTracer
Auto Trait Implementations§
impl Freeze for LogFlowTracer
impl !RefUnwindSafe for LogFlowTracer
impl Send for LogFlowTracer
impl Sync for LogFlowTracer
impl Unpin for LogFlowTracer
impl !UnwindSafe for LogFlowTracer
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