pub enum CaptureDecision {
Inline,
Reference(String),
Omit,
}Available on crate feature
otel only.Expand description
Decision returned by the ObservabilityStore for each payload artifact.
Variants§
Inline
Serialize the payload as a JSON span attribute inline.
Reference(String)
Store externally; record only this reference string on the span.
Omit
Do not record this artifact.
Trait Implementations§
Source§impl Clone for CaptureDecision
impl Clone for CaptureDecision
Source§fn clone(&self) -> CaptureDecision
fn clone(&self) -> CaptureDecision
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 moreAuto Trait Implementations§
impl Freeze for CaptureDecision
impl RefUnwindSafe for CaptureDecision
impl Send for CaptureDecision
impl Sync for CaptureDecision
impl Unpin for CaptureDecision
impl UnsafeUnpin for CaptureDecision
impl UnwindSafe for CaptureDecision
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