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§
source§impl Debug for OsResourceDetector
impl Debug 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§
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