pub enum DegradedReason {
MissingTimestamp {
tool: String,
},
MissingArgs {
tool: String,
},
UnknownTool(String),
UnparsableSession {
source: String,
detail: String,
},
UnparsableSpan {
span_name: String,
detail: String,
},
EmptySession {
source: String,
},
}Expand description
Typed degradation reasons for the shared ingest pipeline.
The adapter layer returns these rather than panicking when sessions have missing fields. The caller decides whether to skip or surface.
Variants§
Trait Implementations§
Source§impl Clone for DegradedReason
impl Clone for DegradedReason
Source§fn clone(&self) -> DegradedReason
fn clone(&self) -> DegradedReason
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 moreSource§impl Debug for DegradedReason
impl Debug for DegradedReason
Auto Trait Implementations§
impl Freeze for DegradedReason
impl RefUnwindSafe for DegradedReason
impl Send for DegradedReason
impl Sync for DegradedReason
impl Unpin for DegradedReason
impl UnsafeUnpin for DegradedReason
impl UnwindSafe for DegradedReason
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