Trait relay_event_schema::processor::ProcessValue

source ·
pub trait ProcessValue:
    FromValue
    + IntoValue
    + Debug
    + Clone {
    // Provided methods
    fn value_type(&self) -> EnumSet<ValueType> { ... }
    fn process_value<P>(
        &mut self,
        meta: &mut Meta,
        processor: &mut P,
        state: &ProcessingState<'_>,
    ) -> ProcessingResult
       where P: Processor { ... }
    fn process_child_values<P>(
        &mut self,
        processor: &mut P,
        state: &ProcessingState<'_>,
    ) -> ProcessingResult
       where P: Processor { ... }
}
Expand description

A recursively processable value.

Provided Methods§

source

fn value_type(&self) -> EnumSet<ValueType>

Returns the type of the value.

source

fn process_value<P>( &mut self, meta: &mut Meta, processor: &mut P, state: &ProcessingState<'_>, ) -> ProcessingResult
where P: Processor,

Executes a processor on this value.

source

fn process_child_values<P>( &mut self, processor: &mut P, state: &ProcessingState<'_>, ) -> ProcessingResult
where P: Processor,

Recurses into children of this value.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl ProcessValue for MetricUnit

source§

impl ProcessValue for bool

source§

fn value_type(&self) -> EnumSet<ValueType>

source§

fn process_value<P>( &mut self, meta: &mut Meta, processor: &mut P, state: &ProcessingState<'_>, ) -> ProcessingResult
where P: Processor,

source§

impl ProcessValue for f64

source§

fn value_type(&self) -> EnumSet<ValueType>

source§

fn process_value<P>( &mut self, meta: &mut Meta, processor: &mut P, state: &ProcessingState<'_>, ) -> ProcessingResult
where P: Processor,

source§

impl ProcessValue for i64

source§

fn value_type(&self) -> EnumSet<ValueType>

source§

fn process_value<P>( &mut self, meta: &mut Meta, processor: &mut P, state: &ProcessingState<'_>, ) -> ProcessingResult
where P: Processor,

source§

impl ProcessValue for u64

source§

fn value_type(&self) -> EnumSet<ValueType>

source§

fn process_value<P>( &mut self, meta: &mut Meta, processor: &mut P, state: &ProcessingState<'_>, ) -> ProcessingResult
where P: Processor,

source§

impl ProcessValue for String

source§

fn value_type(&self) -> EnumSet<ValueType>

source§

fn process_value<P>( &mut self, meta: &mut Meta, processor: &mut P, state: &ProcessingState<'_>, ) -> ProcessingResult
where P: Processor,

source§

impl ProcessValue for Uuid

source§

impl ProcessValue for Value

source§

fn value_type(&self) -> EnumSet<ValueType>

source§

fn process_value<P>( &mut self, meta: &mut Meta, processor: &mut P, state: &ProcessingState<'_>, ) -> ProcessingResult
where P: Processor,

source§

impl<T1: ProcessValue> ProcessValue for (Annotated<T1>,)

source§

fn value_type(&self) -> EnumSet<ValueType>

source§

fn process_child_values<P>( &mut self, processor: &mut P, state: &ProcessingState<'_>, ) -> ProcessingResult
where P: Processor,

source§

impl<T1: ProcessValue, T2: ProcessValue> ProcessValue for (Annotated<T1>, Annotated<T2>)

source§

fn value_type(&self) -> EnumSet<ValueType>

source§

fn process_child_values<P>( &mut self, processor: &mut P, state: &ProcessingState<'_>, ) -> ProcessingResult
where P: Processor,

source§

impl<T1: ProcessValue, T2: ProcessValue, T3: ProcessValue> ProcessValue for (Annotated<T1>, Annotated<T2>, Annotated<T3>)

source§

fn value_type(&self) -> EnumSet<ValueType>

source§

fn process_child_values<P>( &mut self, processor: &mut P, state: &ProcessingState<'_>, ) -> ProcessingResult
where P: Processor,

source§

impl<T1: ProcessValue, T2: ProcessValue, T3: ProcessValue, T4: ProcessValue> ProcessValue for (Annotated<T1>, Annotated<T2>, Annotated<T3>, Annotated<T4>)

source§

fn value_type(&self) -> EnumSet<ValueType>

source§

fn process_child_values<P>( &mut self, processor: &mut P, state: &ProcessingState<'_>, ) -> ProcessingResult
where P: Processor,

source§

impl<T1: ProcessValue, T2: ProcessValue, T3: ProcessValue, T4: ProcessValue, T5: ProcessValue> ProcessValue for (Annotated<T1>, Annotated<T2>, Annotated<T3>, Annotated<T4>, Annotated<T5>)

source§

fn value_type(&self) -> EnumSet<ValueType>

source§

fn process_child_values<P>( &mut self, processor: &mut P, state: &ProcessingState<'_>, ) -> ProcessingResult
where P: Processor,

source§

impl<T1: ProcessValue, T2: ProcessValue, T3: ProcessValue, T4: ProcessValue, T5: ProcessValue, T6: ProcessValue> ProcessValue for (Annotated<T1>, Annotated<T2>, Annotated<T3>, Annotated<T4>, Annotated<T5>, Annotated<T6>)

source§

fn value_type(&self) -> EnumSet<ValueType>

source§

fn process_child_values<P>( &mut self, processor: &mut P, state: &ProcessingState<'_>, ) -> ProcessingResult
where P: Processor,

source§

impl<T1: ProcessValue, T2: ProcessValue, T3: ProcessValue, T4: ProcessValue, T5: ProcessValue, T6: ProcessValue, T7: ProcessValue> ProcessValue for (Annotated<T1>, Annotated<T2>, Annotated<T3>, Annotated<T4>, Annotated<T5>, Annotated<T6>, Annotated<T7>)

source§

fn value_type(&self) -> EnumSet<ValueType>

source§

fn process_child_values<P>( &mut self, processor: &mut P, state: &ProcessingState<'_>, ) -> ProcessingResult
where P: Processor,

source§

impl<T1: ProcessValue, T2: ProcessValue, T3: ProcessValue, T4: ProcessValue, T5: ProcessValue, T6: ProcessValue, T7: ProcessValue, T8: ProcessValue> ProcessValue for (Annotated<T1>, Annotated<T2>, Annotated<T3>, Annotated<T4>, Annotated<T5>, Annotated<T6>, Annotated<T7>, Annotated<T8>)

source§

fn value_type(&self) -> EnumSet<ValueType>

source§

fn process_child_values<P>( &mut self, processor: &mut P, state: &ProcessingState<'_>, ) -> ProcessingResult
where P: Processor,

source§

impl<T1: ProcessValue, T2: ProcessValue, T3: ProcessValue, T4: ProcessValue, T5: ProcessValue, T6: ProcessValue, T7: ProcessValue, T8: ProcessValue, T9: ProcessValue> ProcessValue for (Annotated<T1>, Annotated<T2>, Annotated<T3>, Annotated<T4>, Annotated<T5>, Annotated<T6>, Annotated<T7>, Annotated<T8>, Annotated<T9>)

source§

fn value_type(&self) -> EnumSet<ValueType>

source§

fn process_child_values<P>( &mut self, processor: &mut P, state: &ProcessingState<'_>, ) -> ProcessingResult
where P: Processor,

source§

impl<T1: ProcessValue, T2: ProcessValue, T3: ProcessValue, T4: ProcessValue, T5: ProcessValue, T6: ProcessValue, T7: ProcessValue, T8: ProcessValue, T9: ProcessValue, T10: ProcessValue> ProcessValue for (Annotated<T1>, Annotated<T2>, Annotated<T3>, Annotated<T4>, Annotated<T5>, Annotated<T6>, Annotated<T7>, Annotated<T8>, Annotated<T9>, Annotated<T10>)

source§

fn value_type(&self) -> EnumSet<ValueType>

source§

fn process_child_values<P>( &mut self, processor: &mut P, state: &ProcessingState<'_>, ) -> ProcessingResult
where P: Processor,

source§

impl<T1: ProcessValue, T2: ProcessValue, T3: ProcessValue, T4: ProcessValue, T5: ProcessValue, T6: ProcessValue, T7: ProcessValue, T8: ProcessValue, T9: ProcessValue, T10: ProcessValue, T11: ProcessValue> ProcessValue for (Annotated<T1>, Annotated<T2>, Annotated<T3>, Annotated<T4>, Annotated<T5>, Annotated<T6>, Annotated<T7>, Annotated<T8>, Annotated<T9>, Annotated<T10>, Annotated<T11>)

source§

fn value_type(&self) -> EnumSet<ValueType>

source§

fn process_child_values<P>( &mut self, processor: &mut P, state: &ProcessingState<'_>, ) -> ProcessingResult
where P: Processor,

source§

impl<T1: ProcessValue, T2: ProcessValue, T3: ProcessValue, T4: ProcessValue, T5: ProcessValue, T6: ProcessValue, T7: ProcessValue, T8: ProcessValue, T9: ProcessValue, T10: ProcessValue, T11: ProcessValue, T12: ProcessValue> ProcessValue for (Annotated<T1>, Annotated<T2>, Annotated<T3>, Annotated<T4>, Annotated<T5>, Annotated<T6>, Annotated<T7>, Annotated<T8>, Annotated<T9>, Annotated<T10>, Annotated<T11>, Annotated<T12>)

source§

fn value_type(&self) -> EnumSet<ValueType>

source§

fn process_child_values<P>( &mut self, processor: &mut P, state: &ProcessingState<'_>, ) -> ProcessingResult
where P: Processor,

source§

impl<T> ProcessValue for Box<T>
where T: ProcessValue,

source§

fn value_type(&self) -> EnumSet<ValueType>

source§

fn process_value<P>( &mut self, meta: &mut Meta, processor: &mut P, state: &ProcessingState<'_>, ) -> ProcessingResult
where P: Processor,

source§

impl<T> ProcessValue for Array<T>
where T: ProcessValue,

source§

fn value_type(&self) -> EnumSet<ValueType>

source§

fn process_value<P>( &mut self, meta: &mut Meta, processor: &mut P, state: &ProcessingState<'_>, ) -> ProcessingResult
where P: Processor,

source§

fn process_child_values<P>( &mut self, processor: &mut P, state: &ProcessingState<'_>, ) -> ProcessingResult
where P: Processor,

source§

impl<T> ProcessValue for Object<T>
where T: ProcessValue,

source§

fn value_type(&self) -> EnumSet<ValueType>

source§

fn process_value<P>( &mut self, meta: &mut Meta, processor: &mut P, state: &ProcessingState<'_>, ) -> ProcessingResult
where P: Processor,

source§

fn process_child_values<P>( &mut self, processor: &mut P, state: &ProcessingState<'_>, ) -> ProcessingResult
where P: Processor,

Implementors§

source§

impl ProcessValue for Context

source§

impl ProcessValue for DebugImage

source§

impl ProcessValue for EventType

source§

impl ProcessValue for InstructionAddrAdjustment

source§

impl ProcessValue for Level

source§

impl ProcessValue for LockReasonType

source§

impl ProcessValue for NetworkReportPhases

source§

impl ProcessValue for SpanStatus

source§

impl ProcessValue for ThreadId

source§

impl ProcessValue for TransactionSource

source§

impl ProcessValue for Addr

source§

impl ProcessValue for AppContext

source§

impl ProcessValue for AppleDebugImage

source§

impl ProcessValue for Breadcrumb

source§

impl ProcessValue for Breakdowns

source§

impl ProcessValue for BrowserContext

source§

impl ProcessValue for CError

source§

impl ProcessValue for ClientSdkInfo

source§

impl ProcessValue for ClientSdkPackage

source§

impl ProcessValue for CloudResourceContext

source§

impl ProcessValue for CodeId

source§

impl ProcessValue for ContextInner

source§

impl ProcessValue for Contexts

source§

impl ProcessValue for Cookies

source§

impl ProcessValue for Csp

source§

impl ProcessValue for DebugId

source§

impl ProcessValue for DebugMeta

source§

impl ProcessValue for DeviceContext

source§

impl ProcessValue for Event

source§

impl ProcessValue for EventId

source§

impl ProcessValue for EventProcessingError

source§

impl ProcessValue for Exception

source§

impl ProcessValue for ExpectCt

source§

impl ProcessValue for ExpectStaple

source§

impl ProcessValue for ExtraValue

source§

impl ProcessValue for Fingerprint

source§

impl ProcessValue for Frame

source§

impl ProcessValue for FrameData

source§

impl ProcessValue for FrameVars

source§

impl ProcessValue for Geo

source§

impl ProcessValue for GpuContext

source§

impl ProcessValue for GroupingConfig

source§

impl ProcessValue for HeaderName

source§

impl ProcessValue for HeaderValue

source§

impl ProcessValue for Headers

source§

impl ProcessValue for Hpkp

source§

impl ProcessValue for IpAddr

source§

impl ProcessValue for JsonLenientString

source§

impl ProcessValue for JvmDebugImage

source§

impl ProcessValue for LenientString

source§

impl ProcessValue for LinuxDistribution

source§

impl ProcessValue for LockReason

source§

impl ProcessValue for LogEntry

source§

impl ProcessValue for MachException

source§

impl ProcessValue for Measurement

source§

impl ProcessValue for Measurements

source§

impl ProcessValue for Mechanism

source§

impl ProcessValue for MechanismMeta

source§

impl ProcessValue for Message

source§

impl ProcessValue for MetricSummary

source§

impl ProcessValue for Metrics

source§

impl ProcessValue for MetricsSummary

source§

impl ProcessValue for MonitorContext

source§

impl ProcessValue for NativeDebugImage

source§

impl ProcessValue for NativeImagePath

source§

impl ProcessValue for NelContext

source§

impl ProcessValue for NsError

source§

impl ProcessValue for OsContext

source§

impl ProcessValue for OtelContext

source§

impl ProcessValue for PerformanceScoreContext

source§

impl ProcessValue for PosixSignal

source§

impl ProcessValue for ProfileContext

source§

impl ProcessValue for ProguardDebugImage

source§

impl ProcessValue for Query

source§

impl ProcessValue for RawStacktrace

source§

impl ProcessValue for RegVal

source§

impl ProcessValue for RelayInfo

source§

impl ProcessValue for Replay

source§

impl ProcessValue for ReplayContext

source§

impl ProcessValue for ReprocessingContext

source§

impl ProcessValue for Request

source§

impl ProcessValue for ResponseContext

source§

impl ProcessValue for Route

source§

impl ProcessValue for RuntimeContext

source§

impl ProcessValue for SingleCertificateTimestamp

source§

impl ProcessValue for SourceMapDebugImage

source§

impl ProcessValue for Span

source§

impl ProcessValue for SpanData

source§

impl ProcessValue for SpanId

source§

impl ProcessValue for Stacktrace

source§

impl ProcessValue for SystemSdkInfo

source§

impl ProcessValue for TagEntry

source§

impl ProcessValue for Tags

source§

impl ProcessValue for TemplateInfo

source§

impl ProcessValue for Thread

source§

impl ProcessValue for Timestamp

source§

impl ProcessValue for TraceContext

source§

impl ProcessValue for TraceId

source§

impl ProcessValue for TransactionInfo

source§

impl ProcessValue for TransactionNameChange

source§

impl ProcessValue for User

source§

impl ProcessValue for UserReportV2Context

source§

impl<T> ProcessValue for PairList<T>
where T: ProcessValue + AsPair,

source§

impl<T> ProcessValue for Values<T>
where T: ProcessValue,