pub struct TracingModality { /* private fields */ }
Expand description
A global tracer instance for tracing.rs that sends traces via a network socket to Modality.
This is the synchronous version of TracingModality
, it must not be initialized or finish
ed
from within a tokio runtime. See crate::TracingModality
for a version that can be
initialized inside a tokio runtime. Both versions support tracing from within and outside of a
tokio runtime.
Implementations§
Auto Trait Implementations§
impl Freeze for TracingModality
impl !RefUnwindSafe for TracingModality
impl Send for TracingModality
impl Sync for TracingModality
impl Unpin for TracingModality
impl !UnwindSafe for TracingModality
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