pub struct HarnessAttachmentRef {
pub kind: HarnessAttachmentKind,
pub path: String,
}Expand description
Report attachment reference (path-only).
The lab runtime does not write artifacts; this is a schema hook that a harness can fill in when it persists crash packs, replay traces, etc.
Fields§
§kind: HarnessAttachmentKindAttachment kind (used for deterministic ordering and downstream routing).
path: StringArtifact path (relative or absolute; interpreted by the harness).
Implementations§
Source§impl HarnessAttachmentRef
impl HarnessAttachmentRef
Sourcepub fn crashpack(path: impl Into<String>) -> Self
pub fn crashpack(path: impl Into<String>) -> Self
Convenience constructor for crash pack attachments.
Sourcepub fn replay_trace(path: impl Into<String>) -> Self
pub fn replay_trace(path: impl Into<String>) -> Self
Convenience constructor for replay trace attachments.
Trait Implementations§
Source§impl Clone for HarnessAttachmentRef
impl Clone for HarnessAttachmentRef
Source§fn clone(&self) -> HarnessAttachmentRef
fn clone(&self) -> HarnessAttachmentRef
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HarnessAttachmentRef
impl Debug for HarnessAttachmentRef
Source§impl Hash for HarnessAttachmentRef
impl Hash for HarnessAttachmentRef
Source§impl PartialEq for HarnessAttachmentRef
impl PartialEq for HarnessAttachmentRef
impl Eq for HarnessAttachmentRef
impl StructuralPartialEq for HarnessAttachmentRef
Auto Trait Implementations§
impl Freeze for HarnessAttachmentRef
impl RefUnwindSafe for HarnessAttachmentRef
impl Send for HarnessAttachmentRef
impl Sync for HarnessAttachmentRef
impl Unpin for HarnessAttachmentRef
impl UnsafeUnpin for HarnessAttachmentRef
impl UnwindSafe for HarnessAttachmentRef
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).