Struct TracingObserver
pub struct TracingObserver;Expand description
Observer adapter that emits StudyEvent values as structured tracing
events.
Libraries install no subscriber. Applications opt in by installing one; without a subscriber this adapter is a no-op.
Trait Implementations§
§impl Clone for TracingObserver
impl Clone for TracingObserver
§fn clone(&self) -> TracingObserver
fn clone(&self) -> TracingObserver
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TracingObserver
§impl Debug for TracingObserver
impl Debug for TracingObserver
§impl Default for TracingObserver
impl Default for TracingObserver
§fn default() -> TracingObserver
fn default() -> TracingObserver
Returns the “default value” for a type. Read more
§impl StudyObserver for TracingObserver
impl StudyObserver for TracingObserver
§fn on_event(&self, event: &StudyEvent)
fn on_event(&self, event: &StudyEvent)
Handles one committed lifecycle event.
Auto Trait Implementations§
impl Freeze for TracingObserver
impl RefUnwindSafe for TracingObserver
impl Send for TracingObserver
impl Sync for TracingObserver
impl Unpin for TracingObserver
impl UnsafeUnpin for TracingObserver
impl UnwindSafe for TracingObserver
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