pub struct AdoptedProviders {
pub traces: bool,
pub metrics: bool,
}Expand description
Which globals the host is asserting are backed by a live provider.
Fields§
§traces: boolA live TracerProvider is installed on the OTel global.
metrics: boolA live MeterProvider is installed on the OTel global.
Implementations§
Trait Implementations§
Source§impl Clone for AdoptedProviders
impl Clone for AdoptedProviders
Source§fn clone(&self) -> AdoptedProviders
fn clone(&self) -> AdoptedProviders
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AdoptedProviders
Source§impl Debug for AdoptedProviders
impl Debug for AdoptedProviders
Source§impl Default for AdoptedProviders
impl Default for AdoptedProviders
Source§fn default() -> AdoptedProviders
fn default() -> AdoptedProviders
Returns the “default value” for a type. Read more
impl Eq for AdoptedProviders
Source§impl PartialEq for AdoptedProviders
impl PartialEq for AdoptedProviders
impl StructuralPartialEq for AdoptedProviders
Auto Trait Implementations§
impl Freeze for AdoptedProviders
impl RefUnwindSafe for AdoptedProviders
impl Send for AdoptedProviders
impl Sync for AdoptedProviders
impl Unpin for AdoptedProviders
impl UnsafeUnpin for AdoptedProviders
impl UnwindSafe for AdoptedProviders
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