#[non_exhaustive]pub struct MutableMetadata {
pub runtime_id: String,
pub process_tags: String,
}Expand description
The tracer metadata values that may be updated after startup.
Both fields use the same formats as the rest of the tracing stack:
runtime_id: a runtime UUID,process_tags: comma-separatedkey:valuepairs, e.g."k1:v1,k2:v2".
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.runtime_id: StringRuntime UUID. Uniquely identifies the runtime within the host process.
Comma-separated key:value process tags of the instrumented application.
Trait Implementations§
Source§impl Clone for MutableMetadata
impl Clone for MutableMetadata
Source§impl Debug for MutableMetadata
impl Debug for MutableMetadata
Source§impl Default for MutableMetadata
impl Default for MutableMetadata
impl Eq for MutableMetadata
Source§impl From<MutableMetadata> for MutableMetadataHandle
impl From<MutableMetadata> for MutableMetadataHandle
Source§fn from(value: MutableMetadata) -> Self
fn from(value: MutableMetadata) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MutableMetadata
impl PartialEq for MutableMetadata
impl StructuralPartialEq for MutableMetadata
Auto Trait Implementations§
impl Freeze for MutableMetadata
impl RefUnwindSafe for MutableMetadata
impl Send for MutableMetadata
impl Sync for MutableMetadata
impl Unpin for MutableMetadata
impl UnsafeUnpin for MutableMetadata
impl UnwindSafe for MutableMetadata
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