pub struct ProbeInfo {
pub framework: String,
pub framework_version: Option<String>,
pub probe_version: String,
pub identity_kind: ProbeIdentityKind,
pub capabilities: Vec<String>,
pub instrumentation: Option<ProbeInstrumentation>,
}Expand description
What a probe says about itself when it attaches.
Fields§
§framework: StringFramework name, e.g. ratatui.
framework_version: Option<String>Version of the framework, when the probe can determine it.
probe_version: StringVersion of the probe itself, so a mismatch is diagnosable.
identity_kind: ProbeIdentityKindThe best identity this probe can offer for any object.
capabilities: Vec<String>Optional abilities, from the protocol’s closed set.
instrumentation: Option<ProbeInstrumentation>Runtime injection facts for a custom probe.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ProbeInfo
impl<'de> Deserialize<'de> for ProbeInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ProbeInfo
impl StructuralPartialEq for ProbeInfo
Auto Trait Implementations§
impl Freeze for ProbeInfo
impl RefUnwindSafe for ProbeInfo
impl Send for ProbeInfo
impl Sync for ProbeInfo
impl Unpin for ProbeInfo
impl UnsafeUnpin for ProbeInfo
impl UnwindSafe for ProbeInfo
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