Struct metrics_datadog_exporter::DataDogHandle [−][src]
pub struct DataDogHandle { pub recorder: DataDogRecorder, pub handle: DataDogExporter, }
Expand description
Handle to metrics
Fields
recorder: DataDogRecorder
Metric recorder
handle: DataDogExporter
Metric exporter
Implementations
impl DataDogHandle
[src]
impl DataDogHandle
[src]pub fn install(self) -> Result<DataDogExporter, SetRecorderError>
[src]
pub fn install(self) -> Result<DataDogExporter, SetRecorderError>
[src]Install DataDogRecorder
and return DataDogExporter
Auto Trait Implementations
impl !RefUnwindSafe for DataDogHandle
impl Send for DataDogHandle
impl Sync for DataDogHandle
impl Unpin for DataDogHandle
impl !UnwindSafe for DataDogHandle
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Pointable for T
impl<T> Pointable for T