pub struct DatadogTracing { /* private fields */ }Implementations§
Source§impl DatadogTracing
impl DatadogTracing
pub fn new(config: Config) -> DatadogTracing
pub fn get_global_sampling_rate() -> f64
Trait Implementations§
Source§impl Clone for DatadogTracing
impl Clone for DatadogTracing
Source§fn clone(&self) -> DatadogTracing
fn clone(&self) -> DatadogTracing
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 DatadogTracing
impl Debug for DatadogTracing
Source§impl Log for DatadogTracing
impl Log for DatadogTracing
Source§impl Subscriber for DatadogTracing
impl Subscriber for DatadogTracing
Source§fn new_span(&self, span: &Attributes<'_>) -> Id
fn new_span(&self, span: &Attributes<'_>) -> Id
Source§fn record(&self, _span: &Id, _values: &Record<'_>)
fn record(&self, _span: &Id, _values: &Record<'_>)
Record a set of values on a span. Read more
Source§fn record_follows_from(&self, _span: &Id, _follows: &Id)
fn record_follows_from(&self, _span: &Id, _follows: &Id)
Source§fn on_register_dispatch(&self, subscriber: &Dispatch)
fn on_register_dispatch(&self, subscriber: &Dispatch)
Source§fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest
fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest
Source§fn max_level_hint(&self) -> Option<LevelFilter>
fn max_level_hint(&self) -> Option<LevelFilter>
Returns the highest verbosity level that this
Subscriber will
enable, or None, if the subscriber does not implement level-based
filtering or chooses not to implement this method. Read moreSource§fn event_enabled(&self, event: &Event<'_>) -> bool
fn event_enabled(&self, event: &Event<'_>) -> bool
Source§fn clone_span(&self, id: &Id) -> Id
fn clone_span(&self, id: &Id) -> Id
Source§fn drop_span(&self, _id: Id)
fn drop_span(&self, _id: Id)
👎Deprecated since 0.1.2:
use Subscriber::try_close instead
This method is deprecated. Read more
Source§fn current_span(&self) -> Current
fn current_span(&self) -> Current
Returns a type representing this subscriber’s view of the current span. Read more
impl Sync for DatadogTracing
Auto Trait Implementations§
impl Freeze for DatadogTracing
impl RefUnwindSafe for DatadogTracing
impl Send for DatadogTracing
impl Unpin for DatadogTracing
impl UnsafeUnpin for DatadogTracing
impl UnwindSafe for DatadogTracing
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