Struct opentelemetry::sdk::resource::OsResourceDetector
source · [−]pub struct OsResourceDetector;
Expand description
Detect runtime operating system information.
This detector uses Rust’s OS constant
to detect the operating system type and
maps the result to the supported value defined in OpenTelemetry spec
.
Trait Implementations
sourceimpl Debug for OsResourceDetector
impl Debug for OsResourceDetector
sourceimpl ResourceDetector for OsResourceDetector
impl ResourceDetector for OsResourceDetector
Auto Trait Implementations
impl RefUnwindSafe for OsResourceDetector
impl Send for OsResourceDetector
impl Sync for OsResourceDetector
impl Unpin for OsResourceDetector
impl UnwindSafe for OsResourceDetector
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more