pub struct TransactionsProcessor<'r> { /* private fields */ }
Expand description
Rejects transactions based on required fields.
Implementations§
source§impl<'r> TransactionsProcessor<'r>
impl<'r> TransactionsProcessor<'r>
sourcepub fn new(
name_config: TransactionNameConfig<'r>,
span_op_defaults: BorrowedSpanOpDefaults<'r>,
) -> Self
pub fn new( name_config: TransactionNameConfig<'r>, span_op_defaults: BorrowedSpanOpDefaults<'r>, ) -> Self
Creates a new TransactionsProcessor
instance.
Trait Implementations§
source§impl<'r> Debug for TransactionsProcessor<'r>
impl<'r> Debug for TransactionsProcessor<'r>
source§impl<'r> Default for TransactionsProcessor<'r>
impl<'r> Default for TransactionsProcessor<'r>
source§fn default() -> TransactionsProcessor<'r>
fn default() -> TransactionsProcessor<'r>
Returns the “default value” for a type. Read more
source§impl Processor for TransactionsProcessor<'_>
impl Processor for TransactionsProcessor<'_>
fn process_event( &mut self, event: &mut Event, _meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult
fn process_span( &mut self, span: &mut Span, _meta: &mut Meta, state: &ProcessingState<'_>, ) -> ProcessingResult
fn before_process<T>(
&mut self,
value: Option<&T>,
meta: &mut Meta,
state: &ProcessingState<'_>,
) -> Result<(), ProcessingAction>where
T: ProcessValue,
fn after_process<T>(
&mut self,
value: Option<&T>,
meta: &mut Meta,
state: &ProcessingState<'_>,
) -> Result<(), ProcessingAction>where
T: ProcessValue,
fn process_string( &mut self, value: &mut String, meta: &mut Meta, state: &ProcessingState<'_>, ) -> Result<(), ProcessingAction>
fn process_u64( &mut self, value: &mut u64, meta: &mut Meta, state: &ProcessingState<'_>, ) -> Result<(), ProcessingAction>
fn process_i64( &mut self, value: &mut i64, meta: &mut Meta, state: &ProcessingState<'_>, ) -> Result<(), ProcessingAction>
fn process_f64( &mut self, value: &mut f64, meta: &mut Meta, state: &ProcessingState<'_>, ) -> Result<(), ProcessingAction>
fn process_bool( &mut self, value: &mut bool, meta: &mut Meta, state: &ProcessingState<'_>, ) -> Result<(), ProcessingAction>
fn process_value( &mut self, value: &mut Value, meta: &mut Meta, state: &ProcessingState<'_>, ) -> Result<(), ProcessingAction>
fn process_array<T>(
&mut self,
value: &mut Vec<Annotated<T>>,
meta: &mut Meta,
state: &ProcessingState<'_>,
) -> Result<(), ProcessingAction>where
T: ProcessValue,
fn process_object<T>(
&mut self,
value: &mut BTreeMap<String, Annotated<T>>,
meta: &mut Meta,
state: &ProcessingState<'_>,
) -> Result<(), ProcessingAction>where
T: ProcessValue,
fn process_pairlist<T>(
&mut self,
value: &mut PairList<T>,
meta: &mut Meta,
state: &ProcessingState<'_>,
) -> Result<(), ProcessingAction>where
T: ProcessValue + AsPair,
fn process_values<T>(
&mut self,
value: &mut Values<T>,
meta: &mut Meta,
state: &ProcessingState<'_>,
) -> Result<(), ProcessingAction>where
T: ProcessValue,
fn process_timestamp( &mut self, value: &mut Timestamp, meta: &mut Meta, state: &ProcessingState<'_>, ) -> Result<(), ProcessingAction>
fn process_replay( &mut self, value: &mut Replay, meta: &mut Meta, state: &ProcessingState<'_>, ) -> Result<(), ProcessingAction>
fn process_exception( &mut self, value: &mut Exception, meta: &mut Meta, state: &ProcessingState<'_>, ) -> Result<(), ProcessingAction>
fn process_raw_stacktrace( &mut self, value: &mut RawStacktrace, meta: &mut Meta, state: &ProcessingState<'_>, ) -> Result<(), ProcessingAction>
fn process_stacktrace( &mut self, value: &mut Stacktrace, meta: &mut Meta, state: &ProcessingState<'_>, ) -> Result<(), ProcessingAction>
fn process_frame( &mut self, value: &mut Frame, meta: &mut Meta, state: &ProcessingState<'_>, ) -> Result<(), ProcessingAction>
fn process_request( &mut self, value: &mut Request, meta: &mut Meta, state: &ProcessingState<'_>, ) -> Result<(), ProcessingAction>
fn process_user( &mut self, value: &mut User, meta: &mut Meta, state: &ProcessingState<'_>, ) -> Result<(), ProcessingAction>
fn process_client_sdk_info( &mut self, value: &mut ClientSdkInfo, meta: &mut Meta, state: &ProcessingState<'_>, ) -> Result<(), ProcessingAction>
fn process_debug_meta( &mut self, value: &mut DebugMeta, meta: &mut Meta, state: &ProcessingState<'_>, ) -> Result<(), ProcessingAction>
fn process_debug_image( &mut self, value: &mut DebugImage, meta: &mut Meta, state: &ProcessingState<'_>, ) -> Result<(), ProcessingAction>
fn process_geo( &mut self, value: &mut Geo, meta: &mut Meta, state: &ProcessingState<'_>, ) -> Result<(), ProcessingAction>
fn process_logentry( &mut self, value: &mut LogEntry, meta: &mut Meta, state: &ProcessingState<'_>, ) -> Result<(), ProcessingAction>
fn process_thread( &mut self, value: &mut Thread, meta: &mut Meta, state: &ProcessingState<'_>, ) -> Result<(), ProcessingAction>
fn process_context( &mut self, value: &mut Context, meta: &mut Meta, state: &ProcessingState<'_>, ) -> Result<(), ProcessingAction>
fn process_template_info( &mut self, value: &mut TemplateInfo, meta: &mut Meta, state: &ProcessingState<'_>, ) -> Result<(), ProcessingAction>
fn process_header_name( &mut self, value: &mut HeaderName, meta: &mut Meta, state: &ProcessingState<'_>, ) -> Result<(), ProcessingAction>
fn process_trace_context( &mut self, value: &mut TraceContext, meta: &mut Meta, state: &ProcessingState<'_>, ) -> Result<(), ProcessingAction>
fn process_native_image_path( &mut self, value: &mut NativeImagePath, meta: &mut Meta, state: &ProcessingState<'_>, ) -> Result<(), ProcessingAction>
fn process_contexts( &mut self, value: &mut Contexts, meta: &mut Meta, state: &ProcessingState<'_>, ) -> Result<(), ProcessingAction>
fn process_other( &mut self, other: &mut BTreeMap<String, Annotated<Value>>, state: &ProcessingState<'_>, ) -> Result<(), ProcessingAction>
Auto Trait Implementations§
impl<'r> Freeze for TransactionsProcessor<'r>
impl<'r> RefUnwindSafe for TransactionsProcessor<'r>
impl<'r> Send for TransactionsProcessor<'r>
impl<'r> Sync for TransactionsProcessor<'r>
impl<'r> Unpin for TransactionsProcessor<'r>
impl<'r> UnwindSafe for TransactionsProcessor<'r>
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more