Trait relay_event_schema::processor::Processor

source ·
pub trait Processor: Sized {
Show 36 methods // Provided methods fn before_process<T: ProcessValue>( &mut self, value: Option<&T>, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult { ... } fn after_process<T: ProcessValue>( &mut self, value: Option<&T>, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult { ... } fn process_string( &mut self, value: &mut String, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult { ... } fn process_u64( &mut self, value: &mut u64, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult { ... } fn process_i64( &mut self, value: &mut i64, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult { ... } fn process_f64( &mut self, value: &mut f64, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult { ... } fn process_bool( &mut self, value: &mut bool, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult { ... } fn process_value( &mut self, value: &mut Value, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult { ... } fn process_array<T>( &mut self, value: &mut Array<T>, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult where T: ProcessValue { ... } fn process_object<T>( &mut self, value: &mut Object<T>, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult where T: ProcessValue { ... } fn process_pairlist<T>( &mut self, value: &mut PairList<T>, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult where T: ProcessValue + AsPair { ... } fn process_values<T>( &mut self, value: &mut Values<T>, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult where T: ProcessValue { ... } fn process_timestamp( &mut self, value: &mut Timestamp, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult { ... } fn process_event( &mut self, value: &mut Event, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult { ... } fn process_replay( &mut self, value: &mut Replay, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult { ... } fn process_exception( &mut self, value: &mut Exception, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult { ... } fn process_raw_stacktrace( &mut self, value: &mut RawStacktrace, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult { ... } fn process_stacktrace( &mut self, value: &mut Stacktrace, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult { ... } fn process_frame( &mut self, value: &mut Frame, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult { ... } fn process_request( &mut self, value: &mut Request, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult { ... } fn process_user( &mut self, value: &mut User, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult { ... } fn process_client_sdk_info( &mut self, value: &mut ClientSdkInfo, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult { ... } fn process_debug_meta( &mut self, value: &mut DebugMeta, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult { ... } fn process_debug_image( &mut self, value: &mut DebugImage, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult { ... } fn process_geo( &mut self, value: &mut Geo, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult { ... } fn process_logentry( &mut self, value: &mut LogEntry, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult { ... } fn process_thread( &mut self, value: &mut Thread, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult { ... } fn process_context( &mut self, value: &mut Context, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult { ... } fn process_breadcrumb( &mut self, value: &mut Breadcrumb, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult { ... } fn process_template_info( &mut self, value: &mut TemplateInfo, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult { ... } fn process_header_name( &mut self, value: &mut HeaderName, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult { ... } fn process_span( &mut self, value: &mut Span, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult { ... } fn process_trace_context( &mut self, value: &mut TraceContext, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult { ... } fn process_native_image_path( &mut self, value: &mut NativeImagePath, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult { ... } fn process_contexts( &mut self, value: &mut Contexts, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult { ... } fn process_other( &mut self, other: &mut Object<Value>, state: &ProcessingState<'_>, ) -> ProcessingResult { ... }
}
Expand description

A trait for processing processable values.

Provided Methods§

source

fn before_process<T: ProcessValue>( &mut self, value: Option<&T>, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult

source

fn after_process<T: ProcessValue>( &mut self, value: Option<&T>, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult

source

fn process_string( &mut self, value: &mut String, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult

source

fn process_u64( &mut self, value: &mut u64, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult

source

fn process_i64( &mut self, value: &mut i64, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult

source

fn process_f64( &mut self, value: &mut f64, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult

source

fn process_bool( &mut self, value: &mut bool, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult

source

fn process_value( &mut self, value: &mut Value, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult

source

fn process_array<T>( &mut self, value: &mut Array<T>, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult
where T: ProcessValue,

source

fn process_object<T>( &mut self, value: &mut Object<T>, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult
where T: ProcessValue,

source

fn process_pairlist<T>( &mut self, value: &mut PairList<T>, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult
where T: ProcessValue + AsPair,

source

fn process_values<T>( &mut self, value: &mut Values<T>, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult
where T: ProcessValue,

source

fn process_timestamp( &mut self, value: &mut Timestamp, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult

source

fn process_event( &mut self, value: &mut Event, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult

source

fn process_replay( &mut self, value: &mut Replay, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult

source

fn process_exception( &mut self, value: &mut Exception, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult

source

fn process_raw_stacktrace( &mut self, value: &mut RawStacktrace, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult

source

fn process_stacktrace( &mut self, value: &mut Stacktrace, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult

source

fn process_frame( &mut self, value: &mut Frame, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult

source

fn process_request( &mut self, value: &mut Request, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult

source

fn process_user( &mut self, value: &mut User, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult

source

fn process_client_sdk_info( &mut self, value: &mut ClientSdkInfo, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult

source

fn process_debug_meta( &mut self, value: &mut DebugMeta, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult

source

fn process_debug_image( &mut self, value: &mut DebugImage, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult

source

fn process_geo( &mut self, value: &mut Geo, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult

source

fn process_logentry( &mut self, value: &mut LogEntry, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult

source

fn process_thread( &mut self, value: &mut Thread, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult

source

fn process_context( &mut self, value: &mut Context, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult

source

fn process_breadcrumb( &mut self, value: &mut Breadcrumb, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult

source

fn process_template_info( &mut self, value: &mut TemplateInfo, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult

source

fn process_header_name( &mut self, value: &mut HeaderName, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult

source

fn process_span( &mut self, value: &mut Span, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult

source

fn process_trace_context( &mut self, value: &mut TraceContext, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult

source

fn process_native_image_path( &mut self, value: &mut NativeImagePath, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult

source

fn process_contexts( &mut self, value: &mut Contexts, meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult

source

fn process_other( &mut self, other: &mut Object<Value>, state: &ProcessingState<'_>, ) -> ProcessingResult

Object Safety§

This trait is not object safe.

Implementors§